You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: fix the release runbook's changelog and version-bump steps
- Changelog step renames `## [unreleased]` to the version and leaves none, so
it no longer collides with the one `cargo release` recreates in the
post-release bump (drops the hand-delete-the-duplicate step).
- Version-change and post-release bump both use one `cargo release` invocation;
the old split `version` + `replace` form breaks `prev_version`.
- Summary line prints `$version has N commits...`, matching the changelog
convention.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
to bump the versions, then PR the resulting commit. `task prqlc:test-all`
506
-
refreshes the snapshot tests that embed the version. Step 1 already added the
507
-
`## [unreleased]` section, so `cargo release` inserts a second, duplicate
508
-
one; remove it, leaving the CHANGELOG unchanged in this commit.
507
+
to bump to the next development version, then PR the resulting commit. This
508
+
recreates the `## [unreleased]` section for the next cycle, and
509
+
`task prqlc:test-all` refreshes the snapshot tests that embed the version.
509
510
510
-
<!-- Note we used to have `cargo release version patch -x --no-confirm && cargo release replace -x --no-confirm && task prqlc:test-all`, which was simpler, but in order for `prev_version` to work, we can't separate the `patch` and `replace`, and we need `prev_version` for the prqlc version constraint (search for `prev_version` if unclear). If we moved back to upgrading the tags at the time of release rather than after, we could go back to that. -->
511
+
<!-- `version` and `replace` must run in one `cargo release` invocation (not separate `cargo release version` + `cargo release replace` steps) so the `prev_version` replacement for the prqlc version constraint in target.md resolves. -->
511
512
512
513
6. Check whether there are [milestones](https://github.com/PRQL/prql/milestones)
0 commit comments