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

Workflow to bump major version #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasonkarns
Copy link

@jasonkarns jasonkarns commented Dec 14, 2023

Type of PR (feature, enhancement, bug fix, etc.)

workflow enhancement

Description

Keeps a 'vMajor' ref (branch) in sync with the latest tag for that major version. This way consumers can pin to the major version and receive minor/patch updates.

modeled after: https://github.com/nodenv/.github/blob/main/.github/workflows/tag-major.yml

example runs: https://github.com/nodenv/.github/actions/workflows/tag-major.yml

Why should this be added

Allow the action to be released by tagging (git tag) with full semver-style version. But at the same time still allow consumers to pin only to a major version.

Checklist

  • My code follows the style guidelines of this project
  • Actions are passing

Keeps a 'vMajor' ref (branch) in sync with the latest tag for that major version. This way consumers can pin to the major version and receive minor/patch updates.
@jasonkarns jasonkarns marked this pull request as ready for review December 14, 2023 20:47
@jasonkarns
Copy link
Author

I should probably add a bit of documentation about how to release before this gets merged.

@searls
Copy link
Contributor

searls commented Jun 17, 2024

@jasonkarns still worth getting this across the finish line?

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.

2 participants