ci: add create release wf #4105
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces automation for the release process by adding a GitHub Actions workflow and a supporting shell script, along with documentation to guide maintainers through the new workflow. The changes streamline how release branches and tags are created, reducing manual steps and potential errors.
Release automation:
.github/workflows/create-release.yamlto define a GitHub Actions workflow that creates release branches and tags based on user input, including support for pre-releases and stable releases..github/scripts/create-release.sh, a shell script that validates semantic versioning, creates the appropriate release branch and tag, and pushes them to the repository. Handles alpha releases and checks for existing branches/tags.Documentation:
RELEASE.mdto document the new release process, describing how to use the workflow, steps for pre-releases, stable releases, and patch releases, and linking to broader project guidelines.