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

Add publish-action to sync major release tags to latest minor #31

Merged
merged 1 commit into from Aug 24, 2022

Conversation

juxtin
Copy link
Contributor

@juxtin juxtin commented Aug 23, 2022

This action provides a relatively minor convenience around releases. When creating a new release, the version should be given as something like v1.0.3. Seeing that, this action will automatically update the v1 tag to point to the newest minor release matching the major number.

That way, users of this action who pin to (in this example) v1 will always get the latest point release.

See this doc for a bit more background on this convention.

I ran this on my own fork to verify that it works. You can see the action output here.

@juxtin juxtin requested a review from a team as a code owner August 23, 2022 23:01
Copy link

@elireisman elireisman left a comment

Choose a reason for hiding this comment

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

Cool change! ✨ cc @febuiles

@juxtin juxtin merged commit 453d260 into actions:main Aug 24, 2022
@juxtin juxtin deleted the juxtin/add-release-tagging-action branch August 24, 2022 17:07
@actions actions deleted a comment Feb 6, 2023
@vicluk vicluk mentioned this pull request Feb 12, 2023
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.

None yet

2 participants