diff --git a/lib/travis/build/script.rb b/lib/travis/build/script.rb index ca57dda5d3..031c0bda12 100644 --- a/lib/travis/build/script.rb +++ b/lib/travis/build/script.rb @@ -453,6 +453,13 @@ def error_message_ary(exception, event) def show_compile_error_msg(exception, event) puts "Exception Occurred when trying to compile #{exception.class}. Message: #{exception.message}. Backtrace: \n #{exception.backtrace.join("\n")}" + + # For debugging workspaces + data_dump_file = "/tmp/debug_data_dump_#{Time.now.to_i}.txt" + File.open(data_dump_file, 'w') do |file| + file.write(data.inspect) + end + @sh = Shell::Builder.new error_message_ary(exception, event).each { |line| sh.raw "echo -e \"\033[31;1m#{line}\033[0m\"" } sh.raw "exit 2" diff --git a/public/version-aliases/ghc.json b/public/version-aliases/ghc.json index cb0d6426cf..8ddc55aeaf 100644 --- a/public/version-aliases/ghc.json +++ b/public/version-aliases/ghc.json @@ -166,9 +166,9 @@ "9.0.1-alpha1": "9.0.1-alpha1", "9.0": "9.0.2", "9.0.1": "9.0.1", - "9": "9.8.1", - "9.x": "9.8.1", - "9.x.x": "9.8.1", + "9": "9.8.2", + "9.x": "9.8.2", + "9.x.x": "9.8.2", "9.0.x": "9.0.2", "9.0.2": "9.0.2", "9.2.1-alpha1": "9.2.1-alpha1", @@ -210,8 +210,8 @@ "9.6.3": "9.6.3", "9.6.4": "9.6.4", "9.8.0.20230727": "9.8.0.20230727", - "9.8.x": "9.8.1", - "9.8": "9.8.1", + "9.8.x": "9.8.2", + "9.8": "9.8.2", "9.8.0.20230809": "9.8.0.20230809", "9.8.0.20230822": "9.8.0.20230822", "9.8.0.20230919": "9.8.0.20230919", @@ -220,5 +220,6 @@ "9.8.1-alpha2": "9.8.1-alpha2", "9.8.1-alpha3": "9.8.1-alpha3", "9.8.1-alpha4": "9.8.1-alpha4", - "9.8.1": "9.8.1" + "9.8.1": "9.8.1", + "9.8.2": "9.8.2" } \ No newline at end of file