This document owns repeatable merge and release verification. Milestone direction belongs in ../ROADMAP.md; user-facing changes belong in ../CHANGELOG.md.
- Confirm the branch base and inspect the complete diff.
- Keep unrelated working-tree changes out of the merge.
- Add regression coverage for behavior changes.
- Update
CHANGELOG.mdwhen users, manifests, CLI behavior, packaging, or compatibility changes. - Run:
pixi run lint
pixi run format-check
pixi run typecheck
pixi run test- Run
git diff --checkand review generated/untracked files. - Treat real weights, external packages, and accelerator tests as explicit gates; record which were run instead of implying they are covered by the default suite.
Run the merge checks, then build and inspect the distributions:
pixi run build
pixi run metadata-check
pixi run wheel-checkAlso verify:
pyproject.toml,audio_super_resolution.__version__, tag, and changelog version agree;- the wheel contains
py.typedand the expected package modules; - README installation and CLI examples match the release;
- a clean environment can install the wheel and run
audio-super-res --version,--list-backends, and a shortsinc-resampleenhancement; - optional model status and limitations match
--list-models --list-format json; - CI passes on the exact release commit.
- Merge the prepared release changes.
- Create a signed or annotated version tag matching the source version.
- Push the tag and use the GitHub release workflow.
- Verify the published files and metadata on PyPI.
- Install the published wheel in a clean environment and repeat the CLI smoke test.
- Record any release-specific exception in the GitHub release notes or issue tracker rather than creating another permanent snapshot document.
Publishing uses GitHub Actions OIDC with the pypi environment. The configured PyPI project is
audio-super-resolution, owned by Tinnci, and the release workflow is release.yml. No PyPI API
token should be stored in the repository.
Before publishing, confirm the repository, workflow, environment, owner, and active GitHub account still match the trusted-publisher configuration.
The first 0.1.0 release dry run established the reusable process now captured above:
- local test and build gates passed;
- CI and security workflows passed on
main; - sdist, wheel, and example JSON artifacts were inspected;
- the GitHub
pypienvironment and PyPI pending trusted publisher were confirmed; - publishing used OIDC without an API token.
0.1.0 was later superseded by 0.1.1 for Python 3.10 compatibility. Exact historical commits,
workflow runs, and release artifacts remain available in Git and GitHub history; they do not need a
separate living document.
- Keep stable commands and policies in this document.
- Keep milestone priorities in
ROADMAP.md. - Keep release-facing changes in
CHANGELOG.md. - Keep generated matrix, benchmark, quality, and listening evidence under ignored
runs/or attach it to the relevant release/issue. - Add a permanent record only when it contains a decision or procedure that cannot be reconstructed from Git history and generated artifacts.