-
Notifications
You must be signed in to change notification settings - Fork 32
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
Version 3 tag does not point to the correct location #233
Comments
Versioning of the base image is supposedly independent from the versioning of the action itself. This came because we had no need to change the base image every time we would bump the version. We started having a base image when v3 of the action started. For quite a long time, we stayed on the base image v1. Very recently, we made changes to the base image, twice, so it was bumped to v2 and then v3. By complete chance, the base image version now matches the major version of the action, but it was never meant to be that way and it probably won't stay. Please note that the base action only has a single component version number (there is no expectation for any kind of backwards compatibility, each commit of the action knows exactly what version of the base image it wants) Also, please note that the image this action runs on is not exactly the same as the base image. This action runs on the image produced by Also, please note that GitHub Action advocates for action version number not to follow the usual practices: So in the end, what we are doing is:
If we wanted to have everything pristine, we'd need to work on the
I'm not sure it would be worth the effort, but if you're seeing anything we don't, I'd be delighted to discuss it further :)
We already do that. have you seen anything suggesting the opposite ? |
I see the point indeed that There is also some elegance into have I would indeed expect repos to be worked on in the main branch, tag a release (from main) when it is ready and push it to the marketplace from there. That is what I use for my own actions as well. An alpha or beta version tag could come from anywhere.
|
Good to know ! |
Ok. Now, the default branch is Also, we have now 2-parts version number (major, minor) and not 3 parts anymore. This means any new release is a minor. Major will only happen if we make a very breaking change, but no such thing is planned for the foreseeable future. I believe this closes the ticket. |
I noticed discrepancies with the version tag and the branch
v3
. I assume you where working in the branchv3
to prep for that version, but the tagv3.0.0
points to this Dockerfile @v3.0.0. that has a link to the image@v1
, which was not the intent I assume?What happens now if a user uses this action is confusing:
uses: py-cov-action/python-coverage-comment-action@v3 the branch will be checked out, and Docker image
:v3
will be used.uses: py-cov-action/[email protected] the tag will be checked out, and Docker image
:v1
will be used.I'd recommend cleaning up the branches after merging them to main, and correct the
v3
tag to point to the right commit. It's best to keep things straightforward and use tags everywhere, and not branches.The text was updated successfully, but these errors were encountered: