Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.13 KB

tag-flow

This script is intended to continuously create tags according to the semantic versioning specs in the current head of a git repo. This script only increments the PATCH of the previously tagged version, to increment the MAJOR or MINOR number it is necessary to manually create a tag.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisities

Python 2.7+

Installing

  • Tag the first representative commit of your repo to start the "flow" (e.g. 1.0.0)
  • Copy tag.py in your project or add it as a submodule:
git submodule add [email protected]:bq/tag-flow.git
  • Inside the repo, use as:
python tag-flow/tag.py

Sample output:

# python tag-flow/tag.py
Creating new tag: 1.0.45 (previous tag for branch: 1.0.44)

Versioning

We use SemVer for versioning.

Authors

  • Sebastián Varela - Initial work
  • Iván Martinez - Initial work

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details