No project description provided
Project description
README
This package eases the creation of new releases for
a python package versioned with mercurial.
It assumes mercurial as vcs and semantic versioning.
Also, the version has to be managed by a variable
numversion
inside a file __pkginfo__.py
.
It takes care to :
- update the version in the file
__pkginfo__.py
(required) - update the changelog
- create a commit with only this changes
- tag the commit.
The new version, patch
, minor
or major
, depends on the option -r
/--release
passed as parameter.
The auto
option reads the commit message and determines the release type
according to conventional commit.
The primary use case is to have release-new
inside a tox rules for cubicweb
cubes.
You can use release-new --preview-changelog
or release-new -c
to preview the
changelog that will be generated.
It does not:
- release to pypi
The release should be done by the CI, see the .gitlab-ci.yml
.
It can be installed with pip install release-new
.
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 Distribution
Built Distribution
Hashes for release_new-0.15.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede0b1103bc0573a24e25f012f803df20b5d6e79c81014e8b57e758e34d572df |
|
MD5 | 63f99944ae35a82eb728a5ab06871357 |
|
BLAKE2b-256 | 87b7e312aec3a939caf7ec6d870a1b9f3e77839e77e48de743454833240fdab5 |