chiark / gitweb /
Makefile: Improve release checklist
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Jan 2023 12:29:57 +0000 (12:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Jan 2023 13:04:01 +0000 (13:04 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile

index ae6e1faeb5d4172abbe8fcfbea8f996328e27f56..237b32984934acb0521074a93dd002e24d1aa9ba 100644 (file)
--- 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