From 1d98d82a124bb71dd8068df052082eb8b3fc9b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Mon, 3 Oct 2022 17:06:04 +0200 Subject: [PATCH] update release-checklist --- RELEASE-CHECKLIST.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/RELEASE-CHECKLIST.md b/RELEASE-CHECKLIST.md index a105fdb..a4050a9 100644 --- a/RELEASE-CHECKLIST.md +++ b/RELEASE-CHECKLIST.md @@ -6,9 +6,7 @@ - Run `$ cargo update`. - Check `$ cargo outdated`. -- Build final version: - - `$ MUM_VERSION=x.y.z RUSTFLAGS="--remap-path-prefix=$(pwd)=" cargo build --release` - - `$ cp target/release/mum{ctl,d}` +- Build final version: `$ MUM_VERSION=x.y.z RUSTFLAGS="--remap-path-prefix=$(pwd)=" cargo install --locked --path mum` - Basic test: - Check `--version`. - Connect to server. @@ -21,13 +19,11 @@ # Publish to Github -- Set the version header and today's date in the changelog. +- Add the version header and today's date in the changelog. - Create a new "Unreleased" header. -- Final commits: - - Cargo.lock and Cargo.toml. - - Updated changelog. -- Create a tag: `$ git tag vx.y.z`. +- Make sure everything is commited and published. - Merge into main: `$ git switch main && git merge --no-ff x.y`. +- Create a tag: `$ git tag vx.y.z`. - Push both branches and the tag. - Create a new release on Github targeting the pushed tag. - Copy the changelog (change headers to `##`-headers).