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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

release_tag-0.3.5-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.5-py3-none-manylinux_2_17_aarch64.whl (999.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ba7ea3657bee8d18e87aa4af2fce301d57ef2fa1ff3be99c756505092522b25b
MD5 e3e48f5bbf2daf4fefaf346664962c19
BLAKE2b-256 abdb322a5f09714560b79769b1e53b1866e10003f2b7e8bc45ea3a3b33848e92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5d408ce243816485bbfd2e352f789fe463f8d3d31d28f491b67ddf2bdff18f96
MD5 dc8978997da198a6965b615d3248b72f
BLAKE2b-256 d66ccca21e4c33245304bda0bf63455dc3d4055c94a78b97231cc8e0f46b01bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 33ac1e604cb24317d163c42b7e490d3165b6528196ad00a0abe284437354b21a
MD5 4cbd024d0fd82cdc85b9ec742d02b3fd
BLAKE2b-256 1853b36251d2a93c89484f53dedd159ea18b4e0a766327118290f0f8e2f21544

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 6130df22dc2713e015338967eff3e49861ce8628160ee9f4d21e4bce6adb7d47
MD5 19f5a0a84d7937c4b1cf588de9f613e8
BLAKE2b-256 bc19fd886cedf2018eb4b46341748b36e0e0985061c8e26e157d71f3513d368f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 564840071a8ef5c8e475a8fe8bc083f0917168a9d2055f83254e7cab02b243f5
MD5 b926391b97a3b4317c88296a62102dc9
BLAKE2b-256 3f296ba610fe1c0b24ca727310dbace7d9428ff2178061e9705321ecc4c2a09a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4d2a96048c1fedc10e224a7d0ffd8689f62bba5f7729770c4de10eb33b06f6b7
MD5 174c5b0dfb322913435b29f3eea7a7be
BLAKE2b-256 c426dfadfbb37abe59e2d3b02dd3649c358433472cf4c73d7a080188d37a504c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0485e4d3ea14c25cc58a54968dd97e0503c576e636212cafc66e7eeb2db254a0
MD5 e463a9c5d34f95a1ca9b0bbf4c26a7c5
BLAKE2b-256 96ff190d5aadd4bb9b1625adf9e952d304ede0cd7fc4bc734b577f6780bceeec

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