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.17.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

release_new-0.17.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: release_new-0.17.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for release_new-0.17.0.tar.gz
Algorithm Hash digest
SHA256 dcca549622921f57c8ee864a19373a471bc6bcbd2a4b7ba5c7512225a2c220e6
MD5 63428baad90b52a77415ff2f1502d692
BLAKE2b-256 9af130ae5780feb559f813ac1f8d35650dd06484c5d755a2d73f7e4d458cedf1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: release_new-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for release_new-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65268bba9df69bf5dc1eb7f52e21e1ebc8088f5265a9de2de94c43fe5a18e99d
MD5 c6c9aac63ffb897be5e0338a50524339
BLAKE2b-256 f49bbaf8ab342a186ec21fbbc2fcc8fdc37ecbf7ed86e13eb45f79b3a0feace9

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