Is Your Package Ready to Release? A Twelve-Point Self-Assessment
This is a questionnaire about your own release habits, not a test of knowledge. Read each statement, decide how true it is for the package you maintain, and add up the points. It takes about five minutes and works best if you answer for the last release you actually shipped, not the one you intend to ship.
How to score
For each statement give yourself 2 points if it is always true, 1 point if it is sometimes true or partly in place, and 0 if it is not true. Write the numbers down; there is nothing to submit and nothing is recorded.
The statements
| # | Statement | Area |
|---|---|---|
| 1 | I decide the version bump by looking at what changed for users, not at how much code changed. | Versioning |
| 2 | Every breaking change in the last major release had a migration note. | Versioning |
| 3 | The changelog entry was written before the tag, not reconstructed afterwards. | Changelog |
| 4 | The tests run against the oldest runtime version I claim to support. | Testing |
| 5 | I install the built artefact into a clean project and import it before publishing. | Testing |
| 6 | The package metadata (licence, repository URL, supported runtimes) is correct and current. | Metadata |
| 7 | I know exactly which files end up in the published tarball or wheel. | Metadata |
| 8 | Publishing happens from CI, not from a laptop with a long-lived token. | Publishing |
| 9 | The registry account that can publish has two-factor authentication enabled. | Publishing |
| 10 | A second person (or a written runbook) could cut a release if I were unavailable. | Process |
| 11 | I know how I would deprecate or yank a bad version on this registry. | Process |
| 12 | The git tag, the registry version and the changelog heading always match. | Process |
What your total means
20 to 24: Your process is in good shape. The remaining gains are probably in automation, such as generating provenance attestations or adding a dry-run publish step to pull requests.
12 to 19: Typical for a package that grew up informally. Look at which area your zeros cluster in. Zeros on statements 5 and 7 together are the most urgent combination, because they are how packages ship without a built file or with secrets in a fixture.
Below 12: Releases currently depend on memory and luck. Pick three zero-scoring statements and fix those before the next release rather than trying to change everything at once.
Turning zeros into actions
- Statements 1 and 2: reread the rules in semantic versioning explained and keep a running list of user-visible changes as you merge.
- Statement 3: start an Unreleased section using the method in how to write a changelog entry.
- Statements 5 and 7: follow test the package tarball before publishing.
- Statements 8 and 9: the trusted publishing setup and maintainer account security pages cover both.
- Statement 11: see the notes on yanking a release.
This self-assessment is educational. A high score does not certify anything; it is a prompt to look at the parts of your release process you have not looked at recently.