-
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
Redo versionning #237
Redo versionning #237
Conversation
Coverage reportThe coverage rate went from None of the new lines are part of the tested code. Therefore, there is no coverage data about them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point I have no idea how to handle minor or major versions (e.g. how to make it so when we merge a PR that warrants a version change, it's not immediately released as incremental)
Yes, this is a point that I also noticed
We should also make sure that we set a very current tag before deleting the branch, so that the action doesn't fall back to the v3.0.0 tag for a short time because no new tag has been created yet, but also no branch exists anymore.
I thought about it a bit more and somehow this versioning system doesn't feel convincing to me. We create a new tag for each commit (for which the CI is running) and I don't quite see how our workflow should work when we want to increase the major or minor version. And I'm not so convinced about pushing tags around that may be linked to official releases either. What if we do it a bit differently and use the following system:
So the basic idea would be that we have a development tag that we push around so that everyone who just uses That might also have disadvantages that I'm not thinking of right now, but that would somehow appeal to me as a system better than moving the "real" release tags around or creating a whole lot of tags. |
Well, what I suggested is what GitHub says we should do, unless I'm mistaken:
The only change I did was adding minor tags too but I can remove that. The part where we force-push tags is their idea. That said, we can discuss alternatives for sure! Can you expand on the benefit from your solution compared to having people use |
Here's an iteration:
|
Another alternative could be to just say we release manually once in a while (which we haven't been doing a lot) and have our workflow repush the |
I just thought of 2 other possibilities:
|
Compared to that, there is really no advantage. If we were to come up with a concept for an action that no one uses yet, I would absolutely be in favour of people who want bleeding-edge functions simply using |
But then I'm not sure what usecase the "development" tags would help ? |
(Switched to |
Ah no, my mistake, I'm sorry. I made some wrong assumptions and thought that Github would have more logic for finding a specific version. Just ignore what I suggested. |
Fixes #233
main
branchmain
, after tests pass, (re-)tag the action asvx
,vx.y
andvx.y.z
When this is merged, it's probably worth doing a
v3.1.0
. Also, we need to change the default branch and update the existing PRs, and delete the v3 branchAt this point I have no idea how to handle minor or major versions (e.g. how to make it so when we merge a PR that warrants a version change, it's not immediately released as incremental)