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.1-py3-none-win_arm64.whl (1.1 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

release_tag-0.3.1-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.1-py3-none-manylinux_2_17_aarch64.whl (999.1 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

release_tag-0.3.1-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 cd725bbd8c1aa7cabac186ef51a75e30751a79b81101fce2a8b1c2791bc9dd5f
MD5 4dab0feb7c5e3f30eb6160263673dc60
BLAKE2b-256 783a8dd674ae2247a1ba1dfa375ff9f574561a2df94a79093859365abb53bc1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7ee2d563156f73e98c8570cf9c978aded6c0fc048a836ced595db01114e0062a
MD5 b02cddf0d331546527a2a18fda86ee3f
BLAKE2b-256 ab757698e58a1f5bc8ecffe8a5c78c5e8d02e6ec7089ab2a0040e7efed125cd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 26c3e89d9a95fad59e0110b41d5e25810d85f9befdb39615bfcd4d6963a59321
MD5 afe985f874dbb7e05ed9d6ed5770e198
BLAKE2b-256 9ac45c9086d01966e72beba3b7c0a97f9a26d95a04bd02236c4a9546f0da753a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 d02b8d0ea0fa43ae6606b9dd580b46ca89d806ada47d3e08edb85f1dd43c0460
MD5 a2a2f0d9ed4cbaffd9df9858ba6af647
BLAKE2b-256 b06a508cc18c9144853c8617c42c5abcc9817c995130f630c8ecbbb99ba5f55b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e9e998729c1e2806b8c57532db815c122038449c8ab1503c488716664fece07e
MD5 9fa592b7e3bc153b1bd648654b75a899
BLAKE2b-256 a574f1831cbff7414d028b4e114f67b4aadfb44bb0b954041a08f45f2b8674d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6ff8c6169ce18fef8cbc6f2d695e4b8abfd99511a1f774d9cd086785cc4c50c8
MD5 2b619367ba2128029891cd14550bfbfd
BLAKE2b-256 6163ec9a2d5709ff6b1539eedee8981773a965a3bf71dc28e36531c3c72fcbef

See more details on using hashes here.

File details

Details for the file release_tag-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for release_tag-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7937f161227f86c7dfba6de1af6c4a2e910ee3afdb7cabaee794005275dfcbb9
MD5 f3a158c7b6185ea0e8f9ba4ebc1a7bdb
BLAKE2b-256 6ed73b39485f7db01a3fb069e79b1949d0a193ebfdb8cb5ca8818e156d1ab52a

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