Repository navigation
docs: add release process pointing to the Tracker's source of truth #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # Release process | ||
|
|
||
| This repository holds a single publishable crate, `torrust-server-lib`. | ||
|
|
||
| The process is the one defined for workspace packages in the Torrust Tracker, which is the source | ||
| of truth. Follow its | ||
| [Publishing a Workspace Package](https://github.com/torrust/torrust-tracker/blob/develop/docs/release_process.md#publishing-a-workspace-package) | ||
| section (versioning, changelog, dry run, publish, signed tag). Do not copy it here. | ||
|
|
||
| ## Differences in this repository | ||
|
|
||
| - There is no `develop` branch: releases are cut from `main`. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Nit][F3] The default branch is |
||
| - There is no `deployment-packages.yaml` workflow and no `releases/pkg/**` branches, so the | ||
| **manual fallback** of the Tracker document is the only path. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Minor][F2] The manual fallback named as the only path publishes without a tag. The tracker's Manual Fallback opens with "If CI is unavailable or you need to publish without creating a Git reference" and has four steps: explicit version, |
||
| - The tag is `v<semver>` (for example `v0.6.0`), not `pkg/<crate-name>/v<semver>`. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Nit][F4] No version from 0.1.0 to 0.6.0 is tagged, so the |
||
|
|
||
| ## Checklist | ||
|
|
||
| 1. Merge a PR that bumps `version` in `Cargo.toml` and adds the `CHANGELOG.md` entry. | ||
| 2. From the merged `main`: `cargo publish --dry-run`, then `cargo publish`. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Nit][F5] The checklist drops the source's test step and partly restates the source. The Manual Fallback's step 2 is |
||
| 3. Create the signed tag on the published commit and push it to `torrust/torrust-server-lib`. | ||
|
Comment on lines
+17
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Suggestion][F6] Name the workspace-only source steps that do not apply and the cross-repository step that replaces them. The source's "own explicit |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Minor][F1] The parenthetical lists steps the linked section does not contain.
The tracker's
docs/release_process.mdatdevelopnever mentions a changelog (no match anywhere in the file), and its only versioning content is "own explicitversionfield (notversion.workspace = true)", a workspace concern. The tag command exists only in step 5 of the Automated Workflow, which line 13 rules out. A maintainer who follows the link for these steps finds none of them on the path that applies; the changelog and tag steps live only in the checklist below. Suggest naming what the section actually supplies here (test, dry run, publish, the tag form) and saying that the changelog and tag steps are local.