Versem

Versem creates a semver git tag and a github release when merging a pull request according to the version label set on the repository.
Usage
Semver manager
Usage:
versem [command]
Available Commands:
help Help about any command
label Manage pull request labels
release Manage release
Flags:
-h, --help help for versem
Use "versem [command] --help" for more information about a command.
You must define several environment variables : GITHUB_OWNER, GITHUB_REPOSITORY and GITHUB_TOKEN
label check [commitSha|pullRequestId]
Ensure a semver label is defined on a pull request or a commit that belong to a pull request, if not it exit with an error, if the commit is not tied to a pull request, it aborts without any errors.
label create
Create semver labels (patch, minor, major) on a repository.
release create [commitSha]
Create the semver tag using label version defined in pull request tied to the commit given as argument, if the commit is not tied to a pull request, it aborts without any errors.
Setup
Download the binary from the release page according to your architecture : https://github.com/antham/versem/releases
Contribute
If you want to add a new feature to chyle project, the best way is to open a ticket first to know exactly how to implement your changes in code.
Setup
After cloning the repository you need to install vendors with go mod vendor
To test your changes locally you can run all tests with : make test-all.