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!

Git plugin for automated version number upgrading.

Project Description

Never again forget to upgrade one of the many version numbers in a project.

Git-publish can upgrade version numbers in multiple source files and automatically create a tag and/or branch. It is easy to configure!

$ cat .gitpublish
tag v{VERSION}
branch v{VERSION}
message Prepare {VERSION} release.
upgrade setup.py:version = '{VERSION}'
upgrade git_publish.py:__version__ = "{VERSION}"

To publish a new release, simply do

$ git publish 1.0.0
[master bebb006] Prepare 1.0.0 release
2 files changed, 2 insertions(+), 2 deletions(-)

Installation

Git-publish is available via Pip and PPYM.

ppym install --global git-publish  # or
pip install git-publish

Changelog

v0.7

  • updated configuration file format and filename to .gitpublish
  • now compatible with Node.py and available via PPYM

v0.6

  • now using the nr.types.version.Version, supporting semantic versioning with version extensions

v0.5

  • support for multiple patterns per file

v0.4

  • backwards incompatible change! renamed configuration value names
  • version_ref to versionRef
  • update_version to versionPatterns

v0.3.3

  • fix version comparison, v0.10 is now newer than v0.9
Release History

Release History

This version
History Node

0.7.0

History Node

0.6.0

History Node

0.5

History Node

0.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2

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-publish-0.7.0.zip (8.4 kB) Copy SHA256 Checksum SHA256 Source May 7, 2017

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