-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Add GitHub Actions workflow to automate release creation on tagged pushes #7209
Commits on Sep 27, 2024
-
feat(workflows): add GitHub Action to create release on new tag
This workflow automates the release creation process whenever a new tag is pushed to the repository. It checks if a release for the tag already exists and creates one if it doesn't, enhancing the release management and streamlining the deployment process.
Configuration menu - View commit details
-
Copy full SHA for 09a39d4 - Browse repository at this point
Copy the full SHA 09a39d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc08931 - Browse repository at this point
Copy the full SHA bc08931View commit details -
fix(workflow): improve release existence check in release-on-tag.yml
Refactor the script to improve checking for existing releases by tag. Return an object instead of using core.setOutput to streamline the workflow logic. Also, set result-encoding to string for better compatibility.
Configuration menu - View commit details
-
Copy full SHA for 1ff25f9 - Browse repository at this point
Copy the full SHA 1ff25f9View commit details -
fix(workflow): correct output handling in release-on-tag.yml
Corrected the output handling in the 'release-on-tag.yml' workflow file by changing 'result-encoding' to 'outputs'. This ensures that the step correctly checks if a release exists before attempting to create a new one, thereby avoiding potential errors during the release process. Added a blank line for better readability.
Configuration menu - View commit details
-
Copy full SHA for a20178f - Browse repository at this point
Copy the full SHA a20178fView commit details -
fix(workflow): correct output setting in release-on-tag workflow
Refactored how the release_exists output is set to be compatible with GitHub Actions syntax. This ensures the workflow reliably detects if a release already exists, improving the robustness of the release process.
Configuration menu - View commit details
-
Copy full SHA for 78bff5a - Browse repository at this point
Copy the full SHA 78bff5aView commit details -
fix(release): correct output handling in release-on-tag workflow
Improved the way outputs are managed in the 'check_release' step by returning values instead of direct assignments. This change ensures better handling of release existence checks and improves code readability. Added 'result-encoding' to specify string encoding for results.
Configuration menu - View commit details
-
Copy full SHA for c112705 - Browse repository at this point
Copy the full SHA c112705View commit details -
fix(workflow): correct release existence check and add debug output
Refactored the release existence check to return a simple boolean string ('true'/'false') rather than an object. Added a step to print the release existence status for debugging purposes. This ensures correct conditional evaluation and aids in troubleshooting workflow issues.
Configuration menu - View commit details
-
Copy full SHA for 051042f - Browse repository at this point
Copy the full SHA 051042fView commit details -
fix(workflow): simplify release process by removing redundant checks
The release-on-tag workflow has been streamlined by eliminating the redundant steps checking for existing releases. This change reduces complexity and speeds up the release process by directly creating a release on every tag push without prior existence verification.
Configuration menu - View commit details
-
Copy full SHA for 3beb944 - Browse repository at this point
Copy the full SHA 3beb944View commit details