From 6badfe73ca5adf7afbab2a886323c73082a7d65f Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 23 Feb 2021 17:31:02 +1000 Subject: [PATCH] Add fastmod example to release checklist --- .github/PULL_REQUEST_TEMPLATE/release-checklist.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/PULL_REQUEST_TEMPLATE/release-checklist.md b/.github/PULL_REQUEST_TEMPLATE/release-checklist.md index fc0f6598..dd5253aa 100644 --- a/.github/PULL_REQUEST_TEMPLATE/release-checklist.md +++ b/.github/PULL_REQUEST_TEMPLATE/release-checklist.md @@ -68,6 +68,19 @@ Once you know which versions you want to increment, you can find them in the: Merge all these version increments as one commit, by squashing and rebasing the PR onto the main branch. +#### Version Tooling + +You can use `fastmod` to interactively find and replace versions. + +For example, for `zebra-1.0.0-alpha-3`, we did: +``` +fastmod --extensions rs,toml --fixed-strings '1.0.0-alpha.3' '1.0.0-alpha.4' +fastmod --extensions rs,toml --fixed-strings '1.0.0-alpha.2' '1.0.0-alpha.3' +fastmod --extensions rs,toml --fixed-strings '0.2.0' '0.2.1' tower-batch +``` + +We skipped `tower-fallback`, because it hadn't changed since the last tag. + ## Change Log We follow the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format.