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

Addition of major version tags #51

Closed
noritada opened this issue Aug 26, 2022 · 2 comments
Closed

Addition of major version tags #51

noritada opened this issue Aug 26, 2022 · 2 comments

Comments

@noritada
Copy link
Contributor

noritada commented Aug 26, 2022

Thank you very much for this nice Action.

It would be great if you could add major version tags so that major releases always refer to the latest patch release. That way users would be able to keep using uses: abatilo/actions-poetry@v2 for the latest version of this Action, instead of rewriting uses: abatilo/actions-poetry@v2.1.5 to uses: abatilo/actions-poetry@v2.1.6 for example. Since this Action employs semantic versioning, users would not be inconvenienced by the use of major version tags.

Concerns

Major version tag replacement may need to be a manual operation documented in action-versioning.md for the time being.

It seems that actions/setup-python and other GitHub official Actions are using a workflow release-new-action-version.yml to replace a major version tag when adding a patch version tag to make a patch release. However, that workflow is implemented using actions/publish-action, which is still in an alpha version and is only used internally on GitHub, so it does not seem possible at this time for a third party to use it to implement the major version tag replacement.

abatilo pushed a commit that referenced this issue Aug 30, 2022
In theory, should address #51.
@abatilo
Copy link
Owner

abatilo commented Aug 30, 2022

7f129ac

A little crude but I think this should do what you're looking for @noritada! It's not an official release but I do believe you can reference actions from repos using just a raw tag ref.

If you agree, could you go ahead and close this?

@noritada
Copy link
Contributor Author

noritada commented Sep 2, 2022

@abatilo Thank you very much for making major version tags available! I will close this issue.

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

2 participants