Skip to main content

Shortcuts for git flow release with semver support

Project description

https://badge.fury.io/py/gitflow-easyrelease.svg https://travis-ci.org/wizardsoftheweb/gitflow-easyrelease.svg?branch=master https://coveralls.io/repos/github/wizardsoftheweb/gitflow-easyrelease/badge.svg?branch=master

gitflow-easyrelease aims to streamline git flow release commands. It adds some semver shortcuts as well.

Installation

$ pip install --user gitflow-easyrelease

Usage

$ 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 >

Positionals

version

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

base

base is an optional branch to use as the base for the release. It requires the extended gitflow-avh, but it’s totally optional and shouldn’t break anything if you both don’t have gitflow-avh and never use base.

Commands

init

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

quick

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

start

git easyrelease start version [base]

Extends git flow release start with extra semver functionality. It runs

$ git flow release start <version> <base>

finish

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>

publish

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>

delete

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>

Roadmap

These percentages are pretty arbitrary. Today’s 47% could be tomorrow’s 90% or vice versa.

Main Features

Once all of these are finished, I’ll release v1. Until then, v0 should be used with caution, because it’s not stable.

Progress

Feature

100%

Testing v0.2.0

Eventual Features

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.

Progress

Feature

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.

Project details


Download files

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

Source Distribution

gitflow-easyrelease-0.3.2.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitflow_easyrelease-0.3.2-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file gitflow-easyrelease-0.3.2.tar.gz.

File metadata

File hashes

Hashes for gitflow-easyrelease-0.3.2.tar.gz
Algorithm Hash digest
SHA256 ac713fd8b27e3284865cad1855e0ba4e6e4f0479319b405c4fd0237c7fd1e99c
MD5 e33b4446bed1c63773bf331d8af5f82b
BLAKE2b-256 67fd7c21c123ca1f706b382bf688f08ff1c8c08b64f591c1e4ab406db4c870ae

See more details on using hashes here.

File details

Details for the file gitflow_easyrelease-0.3.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for gitflow_easyrelease-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e5ee8ac82265124153972c75790fabfc234dc8e9556f42e238ab3971681d0df4
MD5 2f95216ba133e99d2227a32d3b3378d2
BLAKE2b-256 c89a50222072c7bab83848fb5c9dc3ac2ae1d7f52d5f7449c5bf25c44796fcae

See more details on using hashes here.

Supported by

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