-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Run softprops/action-gh-release@v2 Error: ⚠️ GitHub Releases requires a tag #508
Comments
Fixed by adding a tag_name, but the problem and error is: it shows same error even when I am passing the tag_name. My mistake was I need to keep "v" at beginning of tag_name. I think it's better to improve error message of this action. Thanks again. |
Thank you for showing how to create a release from a non-tagged commit. Are you required to push the tag? I would prefer to not litter the repo with garbage tags. |
It's not really a tag name but rather a "proposed tag name", which will become an actual tag when the draft release is published. Here's how it's supposed to work:
Many people publish their release right away, without the draft release, which is what creates those garbage tags that need to be deleted if tests fail. |
I fully handled this process in one of my project by getting help from GitHub action and some other packages. here are full source of my showcase: Short brief: I am automatically release and build my compiler/programming language for 3 different OS (Windows, Linux, macOS) This github action is making this process automaticly, we are getting VERSION number from a file which standed in the root and we create tag and release in the github automaticly by using that VERSION number. Best, |
There's a couple of points you may want to consider with this setup. The most important one is that build artifacts in this workflow are being released without any testing. So, for the amount of time it takes you to test these artifacts and issue a fix, a buggy version will be tagged and made available through a non-draft release, and perhaps on whatever website that You may also want to avoid using latest build images. This will eventually cause compiler compatibility issues when GitHub deploys new build images with new compilers, which may be incompatible with the current source. Typically you'd want to pick a specific GitHub image, like |
The text was updated successfully, but these errors were encountered: