Files
rsLXMF/RELEASING.md
T

29 lines
1.4 KiB
Markdown

# Source release policy
rsLXMF source releases are built from immutable Git history. A release is
identified by an annotated `vX.Y.Z` tag whose version matches the workspace
package version and a dated `X.Y.Z` section in `CHANGELOG.md`.
Before creating a tag:
1. Move the relevant `Unreleased` changelog entries into a dated version
section.
2. Set the workspace version to that same semantic version and keep the
declared rsReticulum compatibility version accurate.
3. Record the exact rsReticulum commit used by the release workflow. The
compatibility version describes the manifest contract; the commit is the
source actually built and must be proven in an isolated sibling checkout.
4. Run `python3 scripts/ci/check_source_release_contract.py` and the normal CI
suite with the committed `Cargo.lock`.
5. Create the tag only after the release commit is final. Published tags are
immutable and must not be retargeted.
The release workflow checks out the requested existing tag, verifies that the
tag, manifest, changelog, dependency checkout, and release commit agree, and
builds with `--locked` on Rust 1.87.0. Release artifacts include this policy
and the changelog alongside the README and license.
All workspace packages are intentionally marked `publish = false`. Changing
that safeguard requires a separate package-distribution decision; a source
release does not change it.