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 Distribution

release_tag-0.2.5.tar.gz (8.6 kB view details)

Uploaded Source

Built Distributions

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

release_tag-0.2.5-py3-none-win_arm64.whl (1.5 MB view details)

Uploaded Python 3Windows ARM64

release_tag-0.2.5-py3-none-win_amd64.whl (1.6 MB view details)

Uploaded Python 3Windows x86-64

release_tag-0.2.5-py3-none-manylinux_2_17_x86_64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

release_tag-0.2.5-py3-none-manylinux_2_17_aarch64.whl (1.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

release_tag-0.2.5-py3-none-macosx_11_0_arm64.whl (1.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

release_tag-0.2.5-py3-none-macosx_10_12_x86_64.whl (1.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

release_tag-0.2.5-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file release_tag-0.2.5.tar.gz.

File metadata

  • Download URL: release_tag-0.2.5.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.13

File hashes

Hashes for release_tag-0.2.5.tar.gz
Algorithm Hash digest
SHA256 ecea5bb23f012b81689f5f78f08cac5da421d9fb898c627d54e2211aeb6edf39
MD5 47b1c80038104a7104c7a7fcaffa2df9
BLAKE2b-256 f2b46cb52e59aacfcfa3608053bb0206c2216faf41f10a53ef7bc6b43f5acef8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 fc06c2bdf1fcb7089fe42dc00773d43bc36c61233c165a21d5d4ae84b572ef4d
MD5 ab799cc87a3b6b084dfbe815e512fd31
BLAKE2b-256 8129d5d103c38e6281232edf1d23edf89c97ad6d1730db23b04fb54a1c1f35b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0adebacf56b845c701e0bd433e8ea27d9e69a15a90be9eb895664b98319f8f25
MD5 ba148d7f1129b5ccbfee613d7e1e81ba
BLAKE2b-256 876cb9a6bd59c4f9168bfd14989e169970a3f92467e8a2abc1db3da101aa96c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 7ac02751af96a81f62a692d2ee5057892dbb774790cf81f46ef890ea37dbf2fc
MD5 3da1f1c4f2dc3782724cdcb861b6dd75
BLAKE2b-256 44944e74539a520b6db7476439fd1423326921f35a74318d2d0bb090dfcb3143

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 4decf07690ea4beca1a8f7517083a5703f2d5ec24b31383dc9c277a525978f9c
MD5 c3054bc0a8fa312befb0aad953d91bdd
BLAKE2b-256 4350759b4d6e603c62a89b3382fbd290dd169a6c97f60c26f0238c66deefcba5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cb138ecc56ef513d241f656288ee54308869055a58690017336c6a4d9838f0e8
MD5 55d93a0aa25cbe71612dfca613109bcf
BLAKE2b-256 b4006f04d13ae3fee84f85257cd8a06aa8c025be9c3bb1b74a298918440fd0b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62d5db3a73d1b517ea9795f516847a3a79984e7fe6694291b68a8175ec1be34a
MD5 9c42b92d47df50ea6710b5c0de66b1f3
BLAKE2b-256 fc7fc6598383b126e3fca40395c1e890afb344fcb568ed35a7910345afc2599c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 784e68b9c06abdde80f7a77d7cc633afaaeaa069061caa4c4d9d46f8be34242c
MD5 27226b3489bacddfd47b3a0c8e63eb22
BLAKE2b-256 f8908a416649236a626d591d11fbb29e1fc9b111bc8ff1cceaa86a549e079252

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