A set of wrappers around git flow
Project description
gfworkflow
A set of wrappers around git flow and bump2version.
Installation
You can use pipx and have gfworkflow available via command line
pipx install gfworkflow
If you prefer you can also use pip:
pip install gfworkflow
Please note, bumping version is achieved through bump2version, so make sure it is available via command line
Usage
Init git flow
Initializes git flow with default configuration, and adds v as version tag prefix
gfworkflow --init
... which is equivalent to:
git flow init -d -f
git config gitflow.prefix.versiontag v
Bump version
Bumps current version
gfworkflow --bump-version {part}
part must be major, minor, patch or custom part
... which is equivalent to:
bumpversion {part}
Start release
Starts a new release
gfworkflow --start-release {part}
part must be major, minor, patch or custom part
... which is equivalent to:
git flow release start {new_version}
... except that new_version is calculated with bump2version
Finish release
Finishes a release
gfworkflow --finish-release
... which is equivalent to:
git flow release finish -m " - " {release_version}
... except that it gets release_version from current branch
Bump release
Bumps a release, which means to:
- Start release
- Bump version
- Finish release
python workflow --bump-release {part}
part must be major, minor, patch or custom part
v0.1.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for gfworkflow-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e9d87aefc1e39a3ce28f5b99aacc15dcb2ca97d25b85e7a94ff7c4768f6237c |
|
MD5 | 77cc9642893b29ef10295c28c46bc529 |
|
BLAKE2b-256 | 541c4b6af9c8226837ab0ba688ff742aa44ee90581cc65d8bc88c8b0238dabf7 |