build: integrate builtin_metadata.json handling in release process #4763
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #4754.
Rule number one of release-script changes: it'll break the next release. 馃
This is more convoluted than it has to be, but it's because of this outline of our release process:
So now, we'll bump the version in version/version.go and run
make generate
before handing stuff off to the python container with its release patch generation. With an extra conditional in the script generating the builtin_metadata.json when its version doesn't end in-dev
, we'll add the currently-to-be-released version to each builtin's "available_versions".This is a bit of a mess. If anyone has a better idea, I'm all ears. I'd eventually love to drop all our custom code in favor of something like ko, but that's for another day.