Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds scripts and configurations to support hotfix release workflows #2545

Merged
merged 6 commits into from
Nov 15, 2024

Conversation

varadarajan-tw
Copy link
Contributor

@varadarajan-tw varadarajan-tw commented Oct 30, 2024

This PR updates existing scripts and workflows to support hotfix releases.

Notes on the implementation and context here

This repo doesn't have a solid hotfix release strategy. As a result, we are not merging PRs to main as soon as the PRs are ready and only merge them during the release.

Having a solid hotfix release strategy should help us get over this bottleneck and help us ship at greater speed.

TLDR;

  • All hotfixes will go via hotfix/* branches. External devs won't be able to push or create hotfix/* branches as per this rule set here.
  • New CLI command will be added to internal action cli for auto creating hotfix branch from the latest deployed action destinations. (Logic here)
  • The code fix should be pushed to these branches.
  • New CLI command to release hotfixes. Hotfixes will be published from hotfix branch. The CLI command will auto-create a PR to main branch. Before next reelase, this PR has to be merged or closed.

Testing

  • Sample Publish run from hotfix branch.
  • Sample hotfix merge PR to main created.
  • I'll be able to test package release tagging after merging these changes to main branch.

@varadarajan-tw varadarajan-tw marked this pull request as ready for review November 1, 2024 11:34
@varadarajan-tw varadarajan-tw merged commit 410efab into main Nov 15, 2024
13 checks passed
@varadarajan-tw varadarajan-tw deleted the add-hotfix-workflows branch November 15, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants