lase - Gitflow release tool
Installing
pip install lase
Using
Prerequisites:
- Git-based project with
masteranddevelopbranches present, and Maven-style version number in theVERSIONfile
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
Project dependencies
Project dependencies shoud always be specified in setup.py using the
compatible release
notation.
Updating dependencies in virtualenv
Run the following after updating setup.py
make update-deps
Installing development dependencies
Replace <PACKAGE> with the actual name, and <VERSION> with the MAJOR.MINOR
(or MAJOR.MINOR.PATCH for versions below 1.0.0) version of the package.
Read more on compatible releases.
pipenv install --dev <PACKAGE>~=<VERSION>
Running unit-tests
make test
Running E2E tests
Prerequisites:
make e2e-test
Starting a release
Variables:
RELEASE_REMOTEset to the name of the Git remote. Set to empty to disable pushes to remote. Default value:originRELEASE_VERSIONoverride the release version, or leave empty to release the current snapshot (-SNAPSHOTwill be stripped off). Empty by default
make release-start
Finishing a release
Variables:
RELEASE_REMOTEset to the name of the Git remote. Set to empty to disable pushes to remote. Default value:originRELEASE_PUBLISHset to1to enable publishing of the sdist tarball after the release`
make release-finish
release-finish will leave the release Git tag checked out on completion.
Building and publishing the source distribution:
make publish
Release files for lase 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lase-0.3.2.tar.gz | 6.3 kB | Details |
Release files / lase-0.3.2.tar.gz
| Download URL | lase-0.3.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e786249ae3daf170382afb06c0cd76b613714ac9bd331c4525f3a0a54701e71c
|
|
BLAKE2b-256 checksum How to use checksums |
1c3d88da437d788a31bc3d77fbf79d7510a3ab0b721de512c706feddfaefe1cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|