-
Notifications
You must be signed in to change notification settings - Fork 380
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
fixes for: suffix.X in pre-tags bumps & refarctor some of the shell logic #157
Conversation
@sbe-arg Failed here: https://github.com/alexeyatbluescape/test-actions/runs/6525894935?check_suite_focus=true Was trying to build beta version on 0-3-0 branch, but it tried to push 0.2.0-beta1 which already exists from the previous iteration. My latest test branch: https://github.com/alexeyatbluescape/test-actions/tree/0-3-0 |
I reckon u are expecting this to bump #minor matching your branch from 0.2.0-suffix.x to 0.3.0-suffix.x u need to comment #minor on the commits otherwise it follows suffix sem bumps? is a bit turbulent area here where each use case is different and we need more use of comments to help the bumps I think. But Ill try to replicate XD |
@alexeyatbluescape try
|
@sbe-arg looks better, but here is an interesting one: Run: https://github.com/alexeyatbluescape/test-actions/actions/runs/2378342417 I was working on branch |
I see is gonna be interesting to sort this get tags I understand the expectation is a bump to 0.4.0 in this particular case but for that to happen we need to compare between a pre-release semver x.x.x-suffix.x and main release semver x.x.x and not sure how well is that handled and how to protect this in other scenarios. will try a few things when I have some spare time. happens around this block github-tag-action/entrypoint.sh Line 133 in f339bfb
|
Our use case for
If this is functionality that is going to be removed, I'm happy switching to another method of pushing the base tag since it doesn't use any of the SemVer logic from the action. Though this should definitely result in a |
this is actually a good used case Ill re add custom in this pr |
@anothrNick - Any update on getting this merged? We're noticing issues that this looks like it would fix. |
@morey-tech with the existing implementation without customtag and using reprelease-suffix works like in this examples:
having custom to pass a custom tag but respecting the SEM ver calcullation breaks purpose.
|
@sammcj the dilema is the customtag Can everyone add comments around what custom_tag should do. |
I have reinstated CUSTOM_TAG following the intend in readme making everything else irrelevant. |
@sbe-arg I can't approve it as I'm not a repo maintainer, @anothrNick would you be able to approve please? (feel free to add me as a maintainer if you need help with PRs). |
While I can approve this, I can't merge it, @anothrNick are you able to approve / merge? |
Thanks @anothrNick |
Released to Thank you. |
latest
non semver tagsfeel free to test from my fork:
sbe-arg/github-tag-action@1.39.6