FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

update release process to support multiple version by nickfyson · Pull Request #2014 · github/codeql-action · GitHub

update release process to support multiple version - #2014

Merged
nickfyson merged 9 commits into
mainfrom
nickfyson/update-release-process
Dec 7, 2023
Merged

update release process to support multiple version#2014
nickfyson merged 9 commits into
mainfrom
nickfyson/update-release-process

Conversation

nickfyson commented Dec 4, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

This PR udpates the release process in order to handle maintaining multiple versions. To a large extent this reintroduces the logic removed in...

...but adapted in order to avoid hardcoding version numbers. The process should also support maintaining two or more older version of the action, should that ever be required.

The process to release a new version will now be to first bump the major version number and merge that PR to main. Then run the update-release-branch.yml workflow, which will...

  • create the releases/vNew branch
  • open a PR against this new release branch from main
  • on merging the release PR...
    • the update-release-branch.yml will be triggered again, this time opening mergeback PRs against from releases/vLatest to all previous supported release branches
    • the update-release-branch.yml workflow will also run, updating the tags for vLatest as required and if the release branch is the latest one then also opening a backport PR to main

Note that both these workflows will also be triggered when mergeback PRs are merged against older release branches, but in this case update-release-branch.yml will take no action and update-release-branch.yml will run only the operations to ensure tags for the relevant version are up to date.

Retiring older versions is now a matter of updating OLDEST_SUPPORTED_MAJOR_VERSION in release-branches.py, see the new section in CONTRIBUTING.md for details.

NB The changes in this PR have been tested in a private fork of the repository.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

nickfyson marked this pull request as ready for review December 4, 2023 22:16
nickfyson requested a review from a team as a code owner December 4, 2023 22:16
nickfyson requested a review from henrymercer December 4, 2023 22:16

henrymercer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good! My main comment is around what happens the first time we backport a new major version of the Action.

Comment thread .github/update-release-branch.py Outdated
Comment thread .github/update-release-branch.py Outdated
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
nickfyson requested a review from henrymercer December 6, 2023 13:04

henrymercer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Excellent, thanks for addressing my comments!

nickfyson merged commit e1d1fad into main Dec 7, 2023
nickfyson deleted the nickfyson/update-release-process branch December 7, 2023 10:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL