-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Move to moving tag instead of uses: ddev/[email protected]
?
#11
Comments
Yes, I was thinking the same when I looked at the well known checkout action. I never used such a moving tag. If I understand correctly, each time we create a release vX.y.z, we should remove and re-create a vX tag , am I right ? If it's right, I guess I can work on the "Create release" action to do that automatically on each release. (maybe with some inspiration from https://github.com/actions/checkout/blob/main/.github/workflows/update-main-version.yml) What do you think ? Thanks |
No, I don't think you have to do anything like that. You just tell people to use For example, https://github.com/ddev/ddev/blob/5654135a486d99f835ac512f7cb3b13611c207b7/.github/workflows/tests.yml#L111 There we have actions/cache configured for v1. They don't have to do anything but create a new release in v1, and we don't have to do anything because we'll just get it. |
I think there is something I don't understand.
If we look at the cache action tags https://github.com/actions/cache/tags, we see that each time a new vX.y.z release is published, the main vX tag is also updated. This way, there is no diff between the last vX.y.z and the vX tag (actions/cache@v1.2.1...v1 for example) I don't know how there are doing that. The checkout action repo seems to use some manual in other words, for me, they are doing 2 things:
|
Maybe I just understood something:
Maybe I'm wrong, but you suppose here that GitHub is as powerful as composer or other package manager. Indeed, if we look at the GitHub documentation: we have to
after creating a release vX.y.z. Will work on this asap. Thanks |
I never knew that. Thought they were being much fancier than that. But at least the consumer doesn't have to do anything. |
Will be another great addition |
I'm working on it :) |
Hi, I updated the "Create release" workflow. Now, it updates or creates a major tag ( As an example, this run published a I think I can close this one. Thanks |
Confirmed working on |
Most add-ons are configured with a moving tag, like
@v0.4
or something. Could we move to that? Right now, the suggestion in the README means that people will have to do updates all the time (or dependabot can do it, but it's not enabled everywhere)The text was updated successfully, but these errors were encountered: