Skip to main content

logilab's tool to make easy releases on our forge with mercurial

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


Download files

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

Source Distribution

release_new-0.16.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

release_new-0.16.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file release_new-0.16.0.tar.gz.

File metadata

  • Download URL: release_new-0.16.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for release_new-0.16.0.tar.gz
Algorithm Hash digest
SHA256 e968cc045b701eaf49434d0366767354ca3b9ae0927964b18d09b72924fe8425
MD5 e04f22c74b663fc8bb466c875cfb2dad
BLAKE2b-256 b03d591ea1542b5d260d865e4b75c4dba350c8a578a5d774f7d871fb1d2e6004

See more details on using hashes here.

File details

Details for the file release_new-0.16.0-py3-none-any.whl.

File metadata

File hashes

Hashes for release_new-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 565afeeff506f8e8468c799cf5adc0949dfc38c07fa1baad4f14f1def35ad6e3
MD5 0e512df3bcfb87cee1f94c91e115908c
BLAKE2b-256 cc3ed94ede2030217fdb61696078ce6141c37b85bd7f9cc7d7fd5adb1dea9c21

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