Skip to content

Commit e5cca43

Browse files
Respect build_manifest.json content for release note
This fixes the potential revision inconsistency in release note and build artifacts
1 parent 98dc1fb commit e5cca43

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tasks/ci.rake

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ EOS
2222
BUILD_SOURCES.each do |name, source|
2323
case source[:type]
2424
when "github"
25-
url =
26-
"https://api.github.com/repos/#{source[:repo]}/commits/#{source[:rev]}"
27-
commit = OpenURI.open_uri(url) { |f| JSON.load(f.read) }
2825
output +=
29-
"| #{name} | [`#{source[:repo]}@#{commit["sha"]}`](https://github.com/ruby/ruby/tree/#{commit["sha"]}) |\n"
26+
"| #{name} | [`#{source[:repo]}@#{source[:rev]}`](https://github.com/ruby/ruby/tree/#{source[:rev]}) |\n"
3027
else
3128
raise "unknown source type: #{source[:type]}"
3229
end

0 commit comments

Comments
 (0)