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

Set up a workflow for releasing #84

Open
brettcannon opened this issue Aug 4, 2023 · 2 comments
Open

Set up a workflow for releasing #84

brettcannon opened this issue Aug 4, 2023 · 2 comments

Comments

@brettcannon
Copy link
Owner

https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions#setting-up-github-actions-workflows

@brettcannon
Copy link
Owner Author

@brettcannon
Copy link
Owner Author

brettcannon commented May 22, 2024

The other way to solve this is to ditch the major-only tag and use a branch for it instead (e.g. v2 or release/v2 branch). The GitHub Actions docs suggest that any GitHub ref works, including a branch name, so people should be none the wiser that it's a branch instead of a tag. And since tags are just as mutable as a branch, having it be a tag is a bit pointless.

As such, if there's any workflow it would be to merge main into the appropriate major version branch and create a tag from that release branch.

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

No branches or pull requests

1 participant