Skip to main content

Gitflow release tool

Project description

lase - Gitflow release tool

Installing

pip install lase

Using

Prerequisites:

  • Git-based project with master and develop branches present, and Maven-style version number in the VERSION file

See lase --help for the list of all options.

Starting a release of your project with remote operation enabled

cd /path/to/project/git/repo
lase --remote origin start

The above command will, and create the release/X.Y.Z release branch where X.Y.Z is the version being released, bumping the version in the VERSION file on the develop branch at the same time.

After reviewing the diff between the release and master branches proceed to the finish step below.

Finishing a release of a your project with remote operation enabled

cd /path/to/project/git/repo
lase --remote origin finish

Developing

Prerequisites:

  • Python 3
  • pipenv

Initialize a virtualenv with dev dependencies installed:

make develop

Running unit-tests

make test

Running E2E tests

Prerequisites:

make e2e-test

Starting a release

Variables:

  • RELEASE_REMOTE set to the name of the Git remote. Set to empty to disable pushes to remote. Default value: origin
  • RELEASE_VERSION override the release version, or leave empty to release the current snapshot (-SNAPSHOT will be stripped off). Empty by default
make release-start

Finishing a release

Variables:

  • RELEASE_REMOTE set to the name of the Git remote. Set to empty to disable pushes to remote. Default value: origin
  • RELEASE_PUBLISH - set to 1 to enable publishing of the sdist tarball after the release`
make release-finish

Building and publishing the source distribution for the version X.Y.Z:

git checkout X.Y.Z
make publish

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

lase-0.2.7.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file lase-0.2.7.tar.gz.

File metadata

  • Download URL: lase-0.2.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for lase-0.2.7.tar.gz
Algorithm Hash digest
SHA256 1efa7655e930c428c3a1e2bcb540cacf96da16eb70150ae6504f7519109f76ca
MD5 c81dc149d4b37befa6e2159d34f96bd4
BLAKE2b-256 45d8b744af46b133a6055ef8737130d7e762f11a8fa706a3e1e404ead7be9573

See more details on using hashes here.

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