Skip to main content

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:

  1. Start release
  2. Bump version
  3. Finish release
python workflow --bump-release {part}

part must be major, minor, patch or custom part

v0.1.0

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gfworkflow-0.1.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page