Skip to main content

Automatically create semantic version git tags

Project description

Tag Release

Test status Deploy Status Go Reference Arch User Repsoitory PyPI Go Report Card

Automatically create semantic version git tags.

$ tag
Push tag 'v1.0.1' to origin? (y/N): y
Tag 'v1.0.1' created and pushed to origin.

Usage

By default, tag will increment the smallest digit following SemVer precedence. Incrementing a specific is achieved by passing the respective flag: --major, --minor, --patch.

Tags can be automatically pushed to a remote repository by passing --push.

tag supports pre-release versions. Creating a pre-release tag is achieved by the using the --suffix flag. For example, --suffix="alpha" will create a tag like v1.0.0-alpha. If the previous tag was for a pre-release, that suffix is preferred. This behavior can be overridden by passing --patch or --suffix="". Only incrementing the trailing pre-release identifier is currently supported.

tag authoritatively discourages duplicate tags for a single commit.

Autocomplete

tag provides autocomplete for bash, fish, powershell and zsh shells. For example, to enable autocomplete for the bash shell,

tag completion bash | sudo tee /etc/bash_completion.d/tag > /dev/null

Note: bash completion requires the bash-completion package be installed.

For more information, see tag completion <shell> --help for your respective <shell>.

Install

AUR:

tag is available from the Arch User Repository.

yay -S release-tag

pip:

tag is available as a pypi package.

pip install release-tag

go:

go install github.com/jmelahman/tag@latest

github:

Prebuilt packages are available from Github Releases.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

release_tag-0.3.2-py3-none-win_arm64.whl (1.1 MB view details)

Uploaded Python 3Windows ARM64

release_tag-0.3.2-py3-none-win_amd64.whl (1.2 MB view details)

Uploaded Python 3Windows x86-64

release_tag-0.3.2-py3-none-manylinux_2_17_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

release_tag-0.3.2-py3-none-manylinux_2_17_aarch64.whl (999.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

release_tag-0.3.2-py3-none-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

release_tag-0.3.2-py3-none-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file release_tag-0.3.2-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 7f2f0a468614124c5e8b5aea852223db4b270c26bc095e2fca0a4152f59db206
MD5 127055d678bb508fce0d93c23e363479
BLAKE2b-256 ad03112288804f0ddbd1c32a836dd1579a7ba220e8c146f39aace83ad7598641

See more details on using hashes here.

File details

Details for the file release_tag-0.3.2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9e73a862d85f9eba73063bf3a834c4c52dc36883f01cc8b1433f9b17cbe12baa
MD5 09f80f14373a72572d43f29c029084ee
BLAKE2b-256 1c9bfe046d65ab7d31eb5877a8f6c13aa9198c0f13543b0334bf7f011feec204

See more details on using hashes here.

File details

Details for the file release_tag-0.3.2-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bb3463b46d8b24fa79e49e64833a87d9eda3861a2e519b9dc680505dacd9bf60
MD5 f41ef955f3e6fe26b7d0985dbde6ce6b
BLAKE2b-256 535f2e8432b665faeafc5a527e7b301aa0964e6b6a08f51e9ed00026d4590ed8

See more details on using hashes here.

File details

Details for the file release_tag-0.3.2-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 84f354f4b4a104a26196928ef847483c6a7b0b2d3e18db051556abd8f4b155fc
MD5 ef5198e839899d6bd0bd6477e8700edd
BLAKE2b-256 8d5b3706dc1e13a60f14e8209cec37c25774a17a56e60e60e503d13d04326e48

See more details on using hashes here.

File details

Details for the file release_tag-0.3.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 072a00ac3bd5919d630e47b7fa23b1a189e1e5742b4ff77e3d1fbd9977b40a8a
MD5 f6a040d8b295180e646e8bc091260d0b
BLAKE2b-256 6407f4d629e2f1a5db644a5c489aa4fa5813c07a3048a41571ec16639cd8d1cf

See more details on using hashes here.

File details

Details for the file release_tag-0.3.2-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for release_tag-0.3.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9716d192f8a8d325b90ee1175887fb81fd0937720067104c6ccd383a627803cd
MD5 5d9e5c841c74766e4481dc02a857f146
BLAKE2b-256 fe3e8d792e88f79c5ac8d9af7a3bc0e1231f1a78c7907f887f2f6667c19a53ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page