You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--commit and --tag are supported separately, i.e. I can run a release on a non-PyPi project that does not require any source code changes and just create a tag and pushing it when doing a release.
Thanks for quick reply. Actually I tested it using the current version and it works without that patch as expected, i.e. it creates a tag but does not push any commits.
I left a PR comment as well :)
Actually I tested it using the current version and it works without that patch as expected, i.e. it creates a tag but does not push any commits.
I realize now that really it's because the default is --commit and --tag. If you just turn off commit with commit: false then it is implicitly --tag, but there is no explicit option to toggle the tag flag via the GitHub Action until my PR. So the PR gives the explicit ability to toggle the tag and commit options separately.
Quick question, how do you auto-comment the related github issues to add the release information (above)? I looked at your github workflows but I don't see anything related to this and this is a very useful thing!
Quick question, how do you auto-comment the related github issues to add the release information (above)?
Manual copy and paste! lol!
I copied the template from the JS version of semantic-release, which auto-posts messages like these for all issues that were resolved, because of how awesome it is. One day, PSR will too.
Activity
[-]Add tag in GH action configs[/-][+]Support tag in GH action config[/+]codejedi365 commentedon May 1, 2024
That is a good catch, thank you. I did need to up date it. It is not easy keeping up with the action config as there isn't real testing for it.
fix(gha): add missing `tag` option to GitHub Action definition
codejedi365 commentedon May 2, 2024
@rantoniuk , would you try out this fix and see if it works for you?
rantoniuk commentedon May 3, 2024
Thanks for quick reply. Actually I tested it using the current version and it works without that patch as expected, i.e. it creates a tag but does not push any commits.
I left a PR comment as well :)
codejedi365 commentedon May 3, 2024
Thank you!
I realize now that really it's because the default is
--commitand--tag. If you just turn off commit withcommit: falsethen it is implicitly--tag, but there is no explicit option to toggle the tag flag via the GitHub Action until my PR. So the PR gives the explicit ability to toggle the tag and commit options separately.fix(gha): add missing `tag` option to GitHub Action definition
fix(gha): add missing `tag` option to GitHub Action definition
fix(gha): add missing `tag` option to GitHub Action definition
fix(gha): add missing `tag` option to GitHub Action definition (#908)
codejedi365 commentedon May 6, 2024
🎉 This issue has been resolved in version 9.7.0 🎉
The release is available on:
rantoniuk commentedon May 6, 2024
@codejedi365 thanks for swift action!
Quick question, how do you auto-comment the related github issues to add the release information (above)? I looked at your github workflows but I don't see anything related to this and this is a very useful thing!
codejedi365 commentedon May 6, 2024
Manual copy and paste! lol!
I copied the template from the JS version of semantic-release, which auto-posts messages like these for all issues that were resolved, because of how awesome it is. One day, PSR will too.