Skip to content

Release: New version of odo

Armel Soro edited this page Jul 22, 2022 · 4 revisions

Releasing a new version

Making artifacts for a new release is automated within RedHat's internal CI servers.

  1. Create a PR to update the version. Using the helper script scripts/bump-version.sh update the version in the following files:
  1. Merge the above PR.
  2. Once the PR is merged create and push the new git tag for the version.
  3. Create a new release using the GitHub site (this must be a proper release and NOT a draft).
  4. Update the release description (changelog) on GitHub. For this, you will need a personal access token from GitHub (to overcome potential rate limit issues). If not already done, generate a GitHub personal access token, and note the token. You don't need to select any special scope. Run the script below to get the baseline template of release changelog:
export GITHUB_TOKEN="<personal_access_token_generated_before>"
./scripts/changelog-script.sh ${PREVIOUS_VERSION} ${NEW_VERSION}
  1. Update the Homebrew package:
  2. Check commit id for the released tag git show-ref v0.0.1
  3. Create a PR to update :tag and :revision in the odo.rb file in kadel/homebrew-odo.
  4. Create a PR and update the file build/VERSION with the latest version number.
  5. Create a blog post! Follow the template.md file and push it to the website; learn how to push to the website here.
  6. After the blog post, ideally the CHANGELOG in the release should be the same as the blog post. This is an example of a good release changelog: https://github.com/redhat-developer/odo/releases/tag/v2.0.0
  7. Add the built site (including the blog post) to the release with site.tar.gz using the bundling the site for releases guide.