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

Update major version ref after release is published #12

Closed
richtea opened this issue Mar 24, 2022 · 0 comments · Fixed by #13
Closed

Update major version ref after release is published #12

richtea opened this issue Mar 24, 2022 · 0 comments · Fixed by #13
Labels
enhancement New feature or request

Comments

@richtea
Copy link
Contributor

richtea commented Mar 24, 2022

When a release is published, it creates a tag with a 3-level semantic version, e.g. v1.2.3. But the ref most commonly in use to specify the GH action version is the major ref, e.g. v1 (see the GH documentation for more details).

We should add a new workflow that handles a release published event, and automatically moves (or creates) the major version ref as required. The ref shouldn't be moved or created if the release is a beta or other prerelease version.

Although the docs specify using a tag as the ref, we should consider using a branch instead, as discussed in actions/toolkit#214

@richtea richtea changed the title Update major tag after release is published Update major version ref after release is published Mar 24, 2022
@richtea richtea added the enhancement New feature or request label Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant