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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.12+ x86-64

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 8cc9b3f609f319afcd3a803f0ca746565bf727e63d802beb4183b2d695afb9ef
MD5 74ee701d3742bdc4e89fcadc3e3fea32
BLAKE2b-256 7c056be9e208536c72cfff0c81cfc2a4b304f3d81143922b7c5f3bf8862e42a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 94867481109624ed6392211bd76facd0b9caf9bba064b165f1a254a41336c34b
MD5 87f4e65d00905e0cf8b6f13d9a99e89d
BLAKE2b-256 682105007cb1e67996d586f93360a496b6e62dab3c6b6cfb11d35a8e74354ebd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 14f90f178198a1a85aa13ce2d6dd3104adb57acf62277e3ad6b211d82368ec33
MD5 17cb46a0f8753ac01e07f1dd6bdd06c4
BLAKE2b-256 829da1d902eba21e8cfcc04a7502c03e9658ce6dc30bd7ba83ac2a2e385b3d4c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 972a55df5bd1c7cf1260f1d840aeaecf26643f3511c4f2a9acce430efe6c9685
MD5 ec9a980b4f259975c9bb5d56afc3f4d0
BLAKE2b-256 f380d8b4e62799c06ebb2e503195e91492e47810f8be3b81fcd350902c0c7eef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 961556e5f593384c0456c38f8eb0590527133cd5805f5414516a53c1f217297d
MD5 eb44eaf295440f76f4f42b0ea0393e6b
BLAKE2b-256 6042be778e3b8a6fc8a65e38c3a0a6cc80c0270fb4f55ca91848709f76439759

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 765a2eb40aa4823f6ec077eb2d489e0205e699655df2f888dc5a6a225ec3f304
MD5 a2eceb3761a057351a77d80ab6761939
BLAKE2b-256 7f8dd9d4900b10324c85e0b829f4eb9ca23c475616d5c291d83e15e04990ff83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for release_tag-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9fd452f81c5a5204fd6a950570cb81cfff517683fa405de84db2ec84e8b8bf33
MD5 1c023142adf290c3cb891001fb4d8626
BLAKE2b-256 23d9031618c0b3b44773e00cff91352d4c84d091857426634431326acbcd6278

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