We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9e9154 commit 4b28ec3Copy full SHA for 4b28ec3
1 file changed
scripts/release.py
@@ -46,14 +46,15 @@ def main():
46
help='Output from create_java_tools_release.sh')
47
opts = parser.parse_args()
48
49
- artifacts = json.loads(opts.artifacts)["artifacts"]
+ release_info = json.loads(opts.artifacts)
50
+ artifacts = release_info["artifacts"]
51
52
relnotes = "To use this java_tools release, add to your WORKSPACE file the definitions: \n```py"
53
for platform in artifacts:
54
relnotes += generate_release_info(platform, artifacts[platform])
55
download_file(artifacts[platform]["mirror_url"])
56
- relnotes += "\n```"
57
+ relnotes += "\n```\nThis Java tools version was built from http://github.com/bazelbuild/bazel/commit/" + release_info["source_revision"]
58
with open('relnotes.txt', 'w') as f:
59
f.write(relnotes)
60
0 commit comments