These scripts help in the process of releasing new versions of rosa
.
Once all changes for a specific release are in master
, the next step is to
create a release commit:
./hack/commit-release.sh
This creates a new branch, updates the ROSA build version and changelog file then commits and pushes to GitHub. Any potentially destructing action has a confirmation prompt.
Once this new branch is pushed, someone has to merge it. Once merged, make sure to update your local copy. Then you can tag the actual release:
./hack/tag-release.sh
This will create a new annotated tag and push it to the upstream ROSA repository. Now you can build the binaries using the latest tag:
./hack/build-release.sh
Now that the tag is in place, you will go to the tags page and edit the latest one. In there make sure that the release title and description match the release tag annotation. Then upload the binaries generated by the build-release script.
Publish the release and you're done.