Skip to main content

releasing

Release helpers for projects that publish from a Git-tracked source tree.

Important: This tooling is built for foundata's release process(es). You are welcome to use it but Pull Requests to adapt our toolset to different release policies or processes are out of scope.

Components and tools:

  • release: command that covers the error-prone steps around a release: preparing repository Markdown for package indexes, and, as the package grows, version sites, changelogs, artifacts, tags and post-publish verification. Each step is one subcommand; the order of steps stays in each project's own procedure.


⭐ Found this useful? Support open-source and star this project:

GitHub repository


Installation

Add it to a development dependency group of the project that releases:

[dependency-groups]
dev = ["releasing"]

Run it without installing anything into the project:

uvx --from git+https://github.com/foundata/releasing release --help

Python 3.11 to 3.14 are supported. The minimum is 3.11 rather than the 3.12 baseline of the foundata Python guide because the package is a development dependency of projects that target Debian 12, which ships Python 3.11.

Commands

Project-aware commands read the release declaration, one table in pyproject.toml or releasing.toml. Markdown preparation and explicit-version artifact operations also work independently; see The release declaration.

  • release config check: validate the declaration and every file it names, and print the effective values.
  • release version check and release version bump: every declared version site, the lockfile, lockstep pins and the tag agree, or move them all to a new version. See Version sites.
  • release changelog check, show and release: Keep a Changelog sections, dates and links are consistent, one section is printed for a release description, or the unreleased entries become a dated section. See Changelog sections.
  • release build: export a committed revision, prepare the index Markdown inside that export, build, check and record a manifest. See Building from an exported revision.
  • release tag create, check and delete: a guarded annotated tag, and a deletion that stays legal only while no release exists. See Release tags.
  • release verify: the index serves the validated files, an isolated install reports the version and the forge reports the tag as latest. See Verifying a published release.
  • release artifacts check, manifest and verify: distributions carry the right version, a description without relative links and no litter; their digests are recorded and later compared. See Artifacts.
  • release markdown prepare: rewrite repository-relative link and image destinations to absolute URLs without reformatting the document. See Preparing Markdown for package indexes.

The end-to-end order for a Python project is in Releasing a Python package.

Every command exits with 0 on success, 1 when a check or operation fails and 2 on invalid usage. Diagnostics go to stderr; stdout carries only generated output.

Releasing this package

releasing releases itself with its own commands; see Releasing a Python package. The declaration is the [tool.releasing] table in pyproject.toml.

Development

See the development guide for the checks, the test layout and the corpus maintenance.

Copyright (c) 2026 foundata GmbH (https://foundata.com)

This project is licensed under the GNU General Public License v3.0 or later (SPDX-License-Identifier: GPL-3.0-or-later), see LICENSES/GPL-3.0-or-later.txt for the full text.

The REUSE.toml file provides detailed licensing and copyright information in a human- and machine-readable format. This includes parts that may be subject to different licensing or usage terms, such as third-party components. The repository conforms to the REUSE specification. You can use reuse spdx to create a SPDX software bill of materials (SBOM).

REUSE status

Author information

This project was created and is maintained by foundata.

Release files for releasing 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for releasing 2.0.0
File Size Uploaded
releasing-2.0.0.tar.gz 55.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for releasing 2.0.0
File Interpreter ABI Platform
releasing-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 117.9 kB

Release files / releasing-2.0.0.tar.gz

Download URL releasing-2.0.0.tar.gz
Size 55.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4b5bb50db5738a7737e19cfd8aa21a97773c8087061aedda1a529b74b12ef679
BLAKE2b-256 checksum
How to use checksums
b4fa8b7dba82e067b9887d685544840f29feba0f3e8a0b4606c69e392a69e77f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / releasing-2.0.0-py3-none-any.whl

Download URL releasing-2.0.0-py3-none-any.whl
Size 62.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf477e499b84c2eca9de037ff62985fef3f6786f316456ef8532b171ca2a4b6d
BLAKE2b-256 checksum
How to use checksums
df9a87c378d1ea9139b34e5047996d7c65557e986d7effd2896d487ab6876815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

4.2.0

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

This release

2.0.0 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page