-
Notifications
You must be signed in to change notification settings - Fork 383
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
Question about grep parameters on commit 72f3a5453 #265
Comments
A couple of things. Yes. -qs is unnecesary as we have || true... the idea was -s but returns non 0 when null results I'm mind blown the tags do work regardless. https://github.com/anothrNick/github-tag-action/actions/runs/4944067451#summary-13392394770 and here https://github.com/sbe-arg/dummy-releases/releases/tag/0.6.0-dummy.0 The -qs resulting in always null will only break the semantic bumping if the last release is a prerelease and is bumping over a branch. (we do need a pr to remove the -qs flags here #267) when you say the pre-release is failling what do you mean? the action errors or the pre-release tag is not created and fallsback to regular tag? can you share your config of the workflow and the runner logs with side note found that the documentation needs to be adjusted for the checkout to not conflict with the default release_branches #266 |
Hi! here are the logs with private info removed, the git command failure is not shown with verbose: true
And the command fails on the line https://github.com/anothrNick/github-tag-action/blob/master/entrypoint.sh#L181 because the pre_tag variable is empty
Please let me know if you need anything else |
Just merged #267 which is the case of bumping a release tag with another release tag. This is the kind of scenario is hard to test in this repo. As we can only test against having a release branch strategy and we choose to release to master. |
No worries, thanks for the work of developing and maintaining the github action! |
@sbe-arg i just wanted to really thank you for working so hard on this. I was stuck on the older version that was in the docs (three patches behind) and running into this same problem.. feeling really defeated and as a last straw of hope checked out latest and found this gem. thank you so so much for your hard work on this. i think i tried three different tools and a lot of head banging to get to where i am today, im so thrilled. |
Hi,
I'm trying to publish a prerelease and it's failing for me. I've reviewing the code and the grep parameters to calculate the pre_tag have changed to include -qs . In linux the -q parameter prevents any output so the pre_tagvariable is always empty. Could you confirm that these grep parameters are correct?
https://github.com/anothrNick/github-tag-action/blob/master/entrypoint.sh#L85
https://github.com/anothrNick/github-tag-action/blob/master/entrypoint.sh#L89
Thanks a lot!
The text was updated successfully, but these errors were encountered: