Closed keertk closed 1 year ago
Have you considered changing the output of create_java_tools_release.sh
to make it automation-friendly? (the output from that script was only ever for human consumption, so changing it won't break anything.)
I think making that script dump json with all the values you need here would be easier to maintain that the complex and somewhat brittle parsing in this PR.
Oh that's good to know! I wasn't sure if that script was being used elsewhere. I'll take a look and update, thanks!
btw, outputting json was just me thinking out loud. It would definitely be trivial to parse in python. But please feel free to use whatever standard format (maybe yaml?) is easiest in shell. I'm pretty sure there's a package for everything in python :)
Part of automating the java_tools release process (https://github.com/bazelbuild/continuous-integration/pull/1733)