Skip to main content

Drop-in python-semantic-release fork with built-in release-safety guards (orphan-tag + registry-collision).

Project description

better-semantic-release

A drop-in fork of python-semantic-release with built-in release-safety guards.


better-semantic-release is a drop-in fork of python-semantic-release (MIT licensed). It keeps the same [tool.semantic_release] configuration schema, the same semantic-release CLI, and the same GitHub Action interface – switching over only requires pointing the uses: line at the fork:

uses: n24q02m/better-semantic-release@v<major>

On top of that, the fork adds release-safety guards that run automatically before any commit, tag, or push is made. Guards can be opted out of per-repository under the [tool.semantic_release.bsr] table in pyproject.toml.

How it differs from upstream

Behavior

Upstream (python-semantic-release)

better-semantic-release

Orphaned release-tag detection (a rebase or force-push silently freezes releases on a tag nobody notices)

None

Built-in, fails loud

Registry-collision detection (re-publishing a version that already exists on the target registry)

None

Built-in, fails closed

Config / CLI / GitHub Action interface

Identical (drop-in)


Python Semantic Release

Automating Releases via SemVer and Commit Message Conventions


The official documentation for Python Semantic Release can be found at python-semantic-release.readthedocs.io.

GitHub Action

When using the Python Semantic Release GitHub Action, it executes the command semantic-release version using python-semantic-release.

The usage information and examples for this GitHub Action is available under the GitHub Actions section of python-semantic-release.readthedocs.io.

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

better_semantic_release-1.0.0b1.tar.gz (633.0 kB view details)

Uploaded Source

Built Distribution

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

better_semantic_release-1.0.0b1-py3-none-any.whl (161.2 kB view details)

Uploaded Python 3

File details

Details for the file better_semantic_release-1.0.0b1.tar.gz.

File metadata

File hashes

Hashes for better_semantic_release-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 db36190cd6bfc43258a525586c798a5d4cfe1ba317c399e5a913e92bcfbae30e
MD5 e01eb303afc9b8fe02e3f4690d21b0e6
BLAKE2b-256 58c3222e6ba351a75bf4759c691dfd64b14e182ad0b8b291c1bc8888a49d06d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for better_semantic_release-1.0.0b1.tar.gz:

Publisher: cd.yml on n24q02m/better-semantic-release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file better_semantic_release-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for better_semantic_release-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 13050020fb4e7e0b8b847b3927b591b2ad5e14530e2d41df7ba39b2b26d8daf0
MD5 938b245a40be880e6b5c193c09fca40c
BLAKE2b-256 547fd8ffd2650c5c977cf7bfe573d411431a7e12c5d26e09be9047b2725e27a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for better_semantic_release-1.0.0b1-py3-none-any.whl:

Publisher: cd.yml on n24q02m/better-semantic-release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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