Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Small CLI utility to enable the CI environment to communicate the deployment progress through the use of git tags.

Project Description

Small CLI utility to enable the CI environment to communicate the deployment progress through the use of git tags.

Installation

$ pip install git-release-tagger

Usage

$ tag-release [-h] [-t TRIGGER] [-v] [-m MESSAGE]
               prefix {pending,deploying,failed,success}

Prefix is self explanatory.

If the release was triggered by a tag (like ‘release’) - use the –trigger option to have the tagger remove it automatically. This enables the user to retry a failed deployment just by tagging the same commit again.

Use -m to add a message to the commit. For example - a link to the build status on Jenkins / TeamCity / other CI.

Examples

$ tag-release production pending
will remove tags:
  • ‘production_pending’,
  • ‘production_deploying’,
  • ‘production_failed’,
  • ‘production_success’
will add tags:
  • ‘production_pending’
$ tag-release production success
will remove tags:
  • ‘production_pending’,
  • ‘production_deploying’,
  • ‘production_failed’,
  • ‘production_success’
will add tags:
  • ‘production_success’
  • ‘production_success_2015-11-02_16_34_26’
$ tag-release -t production production success
will remove tags:
  • ‘production’
  • ‘production_pending’,
  • ‘production_deploying’,
  • ‘production_failed’,
  • ‘production_success’
will add tags:
  • ‘production_success’
  • ‘production_success_2015-11-02_16_34_26’

Release History

0.0.2 (2016-03-09)

  • ‘git push’ is run with –no-verify to skip pre-push hooks.

0.0.1 (2015-11-03)

  • Initial release.
Release History

Release History

This version
History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
git_release_tagger-0.0.2-py2.py3-none-any.whl (5.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 9, 2016
git-release-tagger-0.0.2.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting