Shortcuts for git flow release with semver support
gitflow-easyrelease aims to streamline git flow release commands. It adds some semver shortcuts as well.
$ pip install --user gitflow-easyrelease
$ export PATH=~/.local/bin:$PATH $ which git-easyrelease ~/.local/bin/git-easyrelease $ git easyrelease < should print the main help > $ git easyrelease --all-help < dumps all the help >
version can be one of the following:
- p, patch, or ~ for a patch bump
- m, minor, or ^ for a minor bump
- M or major for a major bump
- X.Y.Z for a new, unconnected semver version
- <any string> for a not semver version
git easyrelease init [base]
Convenience method to seed the release with 0.0.0. It runs
$ git flow release start 0.0.0 <base> $ git flow release finish
git easyrelease quick version [base]
Convenience method to start and finish a release branch. It runs
$ git flow release start <version> <base> $ git flow release finish
git easyrelease start version [base]
Extends git flow release start with extra semver functionality. It runs
$ git flow release start <version> <base>
git easyrelease finish [version]
Extends git flow release finish with extra semver functionality. Without version, it attempts to finish the active branch. It runs
$ git flow release finish <version>
git easyrelease publish [version]
Extends git flow release publish with extra semver functionality. Without version, it attempts to publish the active branch. It runs
$ git flow release publish <version>
git easyrelease delete [version]
Extends git flow release delete with extra semver functionality. Without version, it attempts to delete the active branch. It runs
$ git flow release delete <version>
These percentages are pretty arbitrary. Today’s 47% could be tomorrow’s 90% or vice versa.
Once all of these are finished, I’ll release v1. Until then, v0 should be used with caution, because it’s not stable.
These are things I’d like to add, but probably won’t be included in v1. If not, they’ll most likely constitute one or more minor version increments.
|10%||git config integration (or, rather, gitflow config integration|
|0%||Disable base without gitflow-avh|
Copyright 2018 CJ Harries
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size gitflow_easyrelease-0.3.2-py2.py3-none-any.whl (13.0 kB)||File type Wheel||Python version py2.py3||Upload date||Hashes View|
|Filename, size gitflow-easyrelease-0.3.2.tar.gz (14.2 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for gitflow_easyrelease-0.3.2-py2.py3-none-any.whl
Hashes for gitflow-easyrelease-0.3.2.tar.gz