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

also publish major version tag #649

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

Conversation

qrkourier
Copy link

@qrkourier qrkourier commented Jan 27, 2025

resolves #648

on:
release:
types: [published]
jobs:
# move the "latest" and major version tags to the latest release, e.g., v1, to enable
Copy link
Owner

Choose a reason for hiding this comment

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

thank you for this PR, what did you mean by "to enable" in this comment ?

Copy link
Author

Choose a reason for hiding this comment

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

I meant to document the purpose of this job: to update the "latest" and major version tags. This is so that consumers may choose between the latest version and the most recent reverse-compatible version (major version).

git push origin latest
- uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest_tag: true
Copy link
Owner

Choose a reason for hiding this comment

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

will this delete the old latest and replace it without error ?

Copy link
Author

Choose a reason for hiding this comment

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

That's correct.

@qrkourier qrkourier requested a review from medyagh January 28, 2025 19:13
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.

conventional major version tag
2 participants