-
Notifications
You must be signed in to change notification settings - Fork 18
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
provide a "moving" v5 tag #271
Comments
@edmorley ... I see you were recently added as a codeowner to this repo, and your commit history here suggests that you do some care and feeding of GitHub Actions automation. Do you know whether or not this issue is something that is trivially addressable, either by changes to https://github.com/buildpacks/github-actions/blob/main/.github/workflows/pb-update-draft-release.yml , or using that action's A "moving" |
+1 - we should do this. This is the noisiest GHA in all of my code repos because there's no moving tag. For the setup-pack action, I don't think this needs a change to the way that the repo is tagging the specific version. You still need to tag a specific release version. The moving tag needs to be changed after the fact to point to the same place as the new version-specific tag. At least that's how I've done this elsewhere. One way I think we could do this is to add a new action that runs on release or on a new specific tag (although that would be tricky so you don't cause a loop), then have that update the major tag to point to the new release. A number of the other actions are built as containers and get run that way. Those would require a different process. We'd need to modify the |
It would be convenient for users of your GitHub Actions to have a "moving"
vMajor
tag. That allows them--for example--to always use the latest v5.x.x by specifyinguses: buildpacks/github-actions/setup-pack@v5
.Note that this aligns with the guidance here: https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions#example-developer-process
Currently, only full
x.y.z
tags exist, so users have to pin to the specific version and periodically bump their tags:The text was updated successfully, but these errors were encountered: