From 75c3c18336f120dc94d93f27b4e26b9b03bbb608 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 11 Jan 2023 12:29:57 +0000 Subject: [PATCH] Makefile: Improve release checklist Signed-off-by: Ian Jackson --- Makefile | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index ae6e1fa..237b329 100644 --- a/Makefile +++ b/Makefile @@ -91,28 +91,36 @@ very-clean: clean #---------- release process ---------- # +# Preparatory +# cargo update and/or upgrades +# # Checks # nailing-cargo -o audit # NAILING_CARGO=nailing-cargo make check -# dgit -wgfa sbuild +# dgit -wgfa sbuild -c build -A +# autopkgtest --ignore-restrictions=x-hippotat-adt-broken-in-debci . --- schroot build # # Update release notes in debian/changelog: # # Update versions -# * Cargo.toml version, dependencies +# * Cargo.toml version # * macros/Cargo.toml version # * debian/changelog finalise # +# Squash branch if need be. +# +# VERSION=$(dpkg-parsechangelog -SVersion); echo $VERSION +# # Rerun checks # * See "Check" above -# * release-rust-crate --dry-run VERSION +# * release-rust-crate --dry-run hippotat $VERSION # # == commitment point == # # # merge into main, git push -# release-rust-crate hippotat VERSION -# make publish publish-make-current PUBLISH_VERSION=1.1.1 -# dgit -wgf push-source sid +# release-rust-crate hippotat $VERSION +# make publish publish-make-current PUBLISH_VERSION=$VERSION +# dgit -wgfa push-source sid # git-push --dry-run --follow-tags origin # # release announcement on mailing list and/or blog post -- 2.30.2