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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 71542978a06095457c210738bb6b8962af3a826854c8115f9b5446ed9e7d6307
MD5 3b98c3e21510579ed122d161b6c90e9f
BLAKE2b-256 bf410a9828f3ee561d4bf251d1f454f560b693ccb06b8ba88838d1dc6ae3bd10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e0055bd02e5e4aa6c46595c3b4b669db07092f9a5f132668300f148958db2474
MD5 f7c03bb556844111eb543a4c50f16ac5
BLAKE2b-256 8dc0c7ae0d5af37070b7888f84e44726a71fd84962fe7bf320636566fa616ad2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 b0c84d9993716fde1c804dd165068f28c425fa2086886cf29f418f8f2debfb85
MD5 f7b1692b18cf3991139f434828f925c6
BLAKE2b-256 2f725b11c8572cb15ae78e1321278546e9a0f10a1d08b807d1747064b4eec021

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 60fef9e38ac5c3a61ee4870f0c54e79c6718ff9740bb8f4ba56c31c4b50088c4
MD5 7e3a5529666269a1e46cec792a76e2e2
BLAKE2b-256 13867323fb10122a9faaaf7f639f21f3de8f06e4903f5692d417c368545bab5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f8b1dccaafaaee471aeb5f2a85820a4594c42f6a34cfd5778d6987c9d2d9b258
MD5 f39db14990a087e02e9849b14ba3f564
BLAKE2b-256 d3887b2592ec6f944ea6d423848e0145347e86ed4d7b46ec051c0ce0c5428bdb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0b90765d5baec39001ff75b8d7938980e5719a5900eaabfa3905c8ad96e2ba5e
MD5 083891ab59168085abe3c7ea0af38c9f
BLAKE2b-256 6bfc6dd9fcbd64390c4062dfc6cb8d19822077c2123a71bc0dd0a80dcf5a3aa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a876489d500c68e4e83ddf1a0b71677af4b29545b54a41122febf67df66c22de
MD5 f98d3e9c6d1e23be63bda62430cf1b1a
BLAKE2b-256 4ada0b0a246b7b8e802b737731f41a7e0427a233bf4b6d9ccc968f0a066cd52a

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