release-tag


Namerelease-tag JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
SummaryAutomatically create semantic version git tags
upload_time2025-01-02 11:20:17
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT License Copyright (c) 2024 Jamison Lahman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords git git tags release releasing semver tagging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Tag Release

[![Test status](https://github.com/jmelahman/tag/actions/workflows/test.yml/badge.svg)](https://github.com/jmelahman/tag/actions)
[![Deploy Status](https://github.com/jmelahman/tag/actions/workflows/release.yml/badge.svg)](https://github.com/jmelahman/tag/actions)
[![Go Reference](https://pkg.go.dev/badge/github.com/jmelahman/tag.svg)](https://pkg.go.dev/github.com/jmelahman/tag)
[![Arch User Repsoitory](https://img.shields.io/aur/version/release-tag)](https://aur.archlinux.org/packages/release-tag)
[![PyPI](https://img.shields.io/pypi/v/release-tag.svg)]()
[![Go Report Card](https://goreportcard.com/badge/github.com/jmelahman/tag)](https://goreportcard.com/report/github.com/jmelahman/tag)

Automatically create [semantic version](https://semver.org/) git tags.

```text
$ 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](https://semver.org/#semantic-versioning-specification-semver).
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](https://semver.org/#spec-item-9) 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,

```shell
tag completion bash | sudo tee /etc/bash_completion.d/tag > /dev/null
```

_Note: bash completion requires the [bash-completion](https://github.com/scop/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](https://aur.archlinux.org/packages/release-tag).

```shell
yay -S release-tag
```

**pip:**

`tag` is available as a [pypi package](https://pypi.org/project/release-tag/).

```shell
pip install release-tag
```

**go:**

```shell
go install github.com/jmelahman/tag@latest
```

**github:**

Prebuilt packages are available from [Github Releases](https://github.com/jmelahman/tag/releases).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "release-tag",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "git, git tags, release, releasing, semver, tagging",
    "author": null,
    "author_email": "Jamison Lahman <jamison@lahman.dev>",
    "download_url": null,
    "platform": null,
    "description": "# Tag Release\n\n[![Test status](https://github.com/jmelahman/tag/actions/workflows/test.yml/badge.svg)](https://github.com/jmelahman/tag/actions)\n[![Deploy Status](https://github.com/jmelahman/tag/actions/workflows/release.yml/badge.svg)](https://github.com/jmelahman/tag/actions)\n[![Go Reference](https://pkg.go.dev/badge/github.com/jmelahman/tag.svg)](https://pkg.go.dev/github.com/jmelahman/tag)\n[![Arch User Repsoitory](https://img.shields.io/aur/version/release-tag)](https://aur.archlinux.org/packages/release-tag)\n[![PyPI](https://img.shields.io/pypi/v/release-tag.svg)]()\n[![Go Report Card](https://goreportcard.com/badge/github.com/jmelahman/tag)](https://goreportcard.com/report/github.com/jmelahman/tag)\n\nAutomatically create [semantic version](https://semver.org/) git tags.\n\n```text\n$ tag\nPush tag 'v1.0.1' to origin? (y/N): y\nTag 'v1.0.1' created and pushed to origin.\n```\n\n## Usage\n\nBy default, `tag` will increment the smallest digit following [SemVer precedence](https://semver.org/#semantic-versioning-specification-semver).\nIncrementing a specific is achieved by passing the respective flag: `--major`, `--minor`, `--patch`.\n\nTags can be automatically pushed to a remote repository by passing `--push`.\n\n`tag` supports [pre-release](https://semver.org/#spec-item-9) versions.\nCreating a pre-release tag is achieved by the using the `--suffix` flag.\nFor example, `--suffix=\"alpha\"` will create a tag like `v1.0.0-alpha`.\nIf the previous tag was for a pre-release, that suffix is preferred.\nThis behavior can be overridden by passing `--patch` or `--suffix=\"\"`.\nOnly incrementing the trailing pre-release identifier is currently supported.\n\n`tag` authoritatively discourages duplicate tags for a single commit.\n\n### Autocomplete\n\n`tag` provides autocomplete for `bash`, `fish`, `powershell` and `zsh` shells.\nFor example, to enable autocomplete for the `bash` shell,\n\n```shell\ntag completion bash | sudo tee /etc/bash_completion.d/tag > /dev/null\n```\n\n_Note: bash completion requires the [bash-completion](https://github.com/scop/bash-completion/) package be installed._\n\nFor more information, see `tag completion <shell> --help` for your respective `<shell>`.\n\n## Install\n\n**AUR:**\n\n`tag` is available from the [Arch User Repository](https://aur.archlinux.org/packages/release-tag).\n\n```shell\nyay -S release-tag\n```\n\n**pip:**\n\n`tag` is available as a [pypi package](https://pypi.org/project/release-tag/).\n\n```shell\npip install release-tag\n```\n\n**go:**\n\n```shell\ngo install github.com/jmelahman/tag@latest\n```\n\n**github:**\n\nPrebuilt packages are available from [Github Releases](https://github.com/jmelahman/tag/releases).\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Jamison Lahman  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Automatically create semantic version git tags",
    "version": "0.3.0",
    "project_urls": {
        "Repository": "https://github.com/jmelahman/tag"
    },
    "split_keywords": [
        "git",
        " git tags",
        " release",
        " releasing",
        " semver",
        " tagging"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8fde73cb8ed5f3934989f0f891c375234f772592a25b9ca30902492feef102ae",
                "md5": "cb437a794b6b467ab072b1d013a904a8",
                "sha256": "aa0e23cd76a4c9f8f310c1925f33849530239d6c55f225fbb69d6ee04c18c568"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cb437a794b6b467ab072b1d013a904a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1556517,
            "upload_time": "2025-01-02T11:20:17",
            "upload_time_iso_8601": "2025-01-02T11:20:17.449965Z",
            "url": "https://files.pythonhosted.org/packages/8f/de/73cb8ed5f3934989f0f891c375234f772592a25b9ca30902492feef102ae/release_tag-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ea87a92f7e28c2714ee3ecee6991f290f47d46e7c98417d1b753fe69eb2d2e5a",
                "md5": "8bbd6aaa88a5be8893b4cffbeab5d2fe",
                "sha256": "b9d9b2bcdbadd40facec044d19f8b8ca28e22750a105a4d7dbb50a5e6ad6577f"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-macosx_10_12_x86_64.whl",
            "has_sig": false,
            "md5_digest": "8bbd6aaa88a5be8893b4cffbeab5d2fe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1570625,
            "upload_time": "2025-01-02T11:20:20",
            "upload_time_iso_8601": "2025-01-02T11:20:20.061062Z",
            "url": "https://files.pythonhosted.org/packages/ea/87/a92f7e28c2714ee3ecee6991f290f47d46e7c98417d1b753fe69eb2d2e5a/release_tag-0.3.0-py3-none-macosx_10_12_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8cee891a7d03dc982aa322525af5891b5b7525be6692b296abb8da19cbd96ded",
                "md5": "738900bb7f73c63f7d3f9501e200bfb6",
                "sha256": "7831d243ad1373160808dd8d7ceaba692c74ef10b7affba866a5cdd464fd7a51"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "738900bb7f73c63f7d3f9501e200bfb6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1481814,
            "upload_time": "2025-01-02T11:20:14",
            "upload_time_iso_8601": "2025-01-02T11:20:14.331082Z",
            "url": "https://files.pythonhosted.org/packages/8c/ee/891a7d03dc982aa322525af5891b5b7525be6692b296abb8da19cbd96ded/release_tag-0.3.0-py3-none-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b9de319ec6bd7671746680bcf311c84b5d404d6076bef3001988c6525666d45e",
                "md5": "1b7a9d62559a3e4483a2e5dcb20eb46b",
                "sha256": "8d698675b5dcbf1ca5d92aac19c7c7a44eeebc56dd8c10117fc736ca22bc313d"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-manylinux_2_17_aarch64.whl",
            "has_sig": false,
            "md5_digest": "1b7a9d62559a3e4483a2e5dcb20eb46b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1430332,
            "upload_time": "2025-01-02T11:20:17",
            "upload_time_iso_8601": "2025-01-02T11:20:17.099023Z",
            "url": "https://files.pythonhosted.org/packages/b9/de/319ec6bd7671746680bcf311c84b5d404d6076bef3001988c6525666d45e/release_tag-0.3.0-py3-none-manylinux_2_17_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "595fdbb12aa2b2f53dda8fed822dd98449fa7f2e3dddaa11b7f801a74372a4e7",
                "md5": "97ab4b87da04eca3b6aa7aa01a595136",
                "sha256": "3b7f4248b9202c23b1cabf52a8f1700152ea099e67137373816e9c4f210902d8"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-manylinux_2_17_x86_64.whl",
            "has_sig": false,
            "md5_digest": "97ab4b87da04eca3b6aa7aa01a595136",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1556541,
            "upload_time": "2025-01-02T11:20:16",
            "upload_time_iso_8601": "2025-01-02T11:20:16.560592Z",
            "url": "https://files.pythonhosted.org/packages/59/5f/dbb12aa2b2f53dda8fed822dd98449fa7f2e3dddaa11b7f801a74372a4e7/release_tag-0.3.0-py3-none-manylinux_2_17_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ff072321fa91251cf4fe3c3c5b0ad9eeb1c73f8483634c72426590210db6d64c",
                "md5": "7fef8b0d4cb130b383e4d03aaf8a51d2",
                "sha256": "781049b11edf07a36c536a1966e1db34aa3e049a80091aa4ee38317290135c65"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "7fef8b0d4cb130b383e4d03aaf8a51d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1616758,
            "upload_time": "2025-01-02T11:20:16",
            "upload_time_iso_8601": "2025-01-02T11:20:16.731913Z",
            "url": "https://files.pythonhosted.org/packages/ff/07/2321fa91251cf4fe3c3c5b0ad9eeb1c73f8483634c72426590210db6d64c/release_tag-0.3.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2d9f8054f07ff25e6bd3d304d62a59dfb13244a8ecfaa0216918f01c088048e6",
                "md5": "ae64cb07cd4dbb40564f49ec89ea4d48",
                "sha256": "08da193b1badaab33b6891797a0250d8f542530ca5f1ec3a31f69cf3462466b5"
            },
            "downloads": -1,
            "filename": "release_tag-0.3.0-py3-none-win_arm64.whl",
            "has_sig": false,
            "md5_digest": "ae64cb07cd4dbb40564f49ec89ea4d48",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 1470734,
            "upload_time": "2025-01-02T11:20:20",
            "upload_time_iso_8601": "2025-01-02T11:20:20.318723Z",
            "url": "https://files.pythonhosted.org/packages/2d/9f/8054f07ff25e6bd3d304d62a59dfb13244a8ecfaa0216918f01c088048e6/release_tag-0.3.0-py3-none-win_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-02 11:20:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jmelahman",
    "github_project": "tag",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "release-tag"
}
        
Elapsed time: 0.40515s