Skip to content

Commit f28549c

Browse files
committed
debug
1 parent ae9f2a8 commit f28549c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

report/download_artifacts.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ def version
3434
if (branch = ENV['BRANCH'])
3535
require 'open-uri'
3636
require 'yaml'
37-
branch = 'master' if branch == 'main'
37+
branch = 'master' if branch == 'main' # main is 404 for now
38+
puts "Using branch: #{branch}"
3839
versions = URI.open("https://snapshots.elastic.co/latest/#{branch}.json").read
3940
YAML.safe_load(versions)['version']
4041
else

0 commit comments

Comments
 (0)