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

[Automatic Releases] "Major Release" workflow that is run manually #340

Open
Tracked by #333
AsherGlick opened this issue Aug 19, 2024 · 0 comments
Open
Tracked by #333

Comments

@AsherGlick
Copy link
Owner

AsherGlick commented Aug 19, 2024

Now that the weekly workflow is complete we can inherit, extend, or wrap it in another workflow that can be called manually using the workflow_dispatch configuration in the workflow file.

workflow_dispatch's configuration should takes in the description of the release as a parameter
The major workflow finds the last tag with the format. It is the same format that the weekly build will use to find tags.

/release-(?P<major>[0-9]+)\.(?P<minor>[0-9]+)\.(?P<revision>[0-9]+)/

Then puts a new tag on the current commit with the format release-{major+1}.0.0. Notably different from the weekly format as it is incrementing the major number instead.

Then it will cut a new release like the weekly workflow and use the description parameter from workflow_dispatch as the release's description.

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