gh tt semver will print the highest preceding semver compliant release tag
gh tt semver --prerelease will print the highest preceding semver compliant prerelease tag
gh tt semver bump ... will create a tag that is compliant with the semver v2.0 spec. It will be created locally in your repository. Once it’s created you should push it to your origin using ‘git push —tags`
You can apply the --no-run switch to bump to preview the git command that command.
Terminal window
$ghttsemverbump--minor--no-run
gittag-a-m"1.2.0
Bumped minor from version '1.1.0' to '1.2.0'"1.2.0
If you run the same command but without the --no-run flag it will generate the same command - and execute it.
Terminal window
ghttsemverbump--minor
You can use gh tt semver note to generate release notes. The will be printed to STDOUT or a file if you choose
The following commands will bump the build sequence number, taking offset in the highest preceding. Generate a note, push tha tag and generate a prerelease on GitHub using that note
gh tt semver prints the current latest release
gh tt semver prints the current latest prerelease
gh tt semver note with the file outputs the name of the file created
gh tt semver bump ... outputs that tag created
To advance the build number on the current prerelease and populate it to github , with a note containing all changes since the last official release:
You can use the -h or --help flag to any subcommand to learn it’s syntax.
You can use the -v or --verbose flag to any subcommand to force it to print out a trace (for debugging or learning).
The semver command supports three subcommands; bump, list and note