chiark / gitweb /
changelog: document further make-release changes
[otter.git] / make-release
index f18d93911d2a20743ea7b3f7df6cf86ea01e88b2..6b10ef80eb113bb91dba9534fbdcafb94169e6a9 100755 (executable)
@@ -9,11 +9,12 @@
 # Overall release steps:
 #
 #  - update dependencies (cargo update, cargo upgrades)
-#  - update our Nightly rust and do a test build, note in build.rst
+#  - check `cargo audit`
 #  - edit CHANGELOG.md
 #  - update versions
 #  - ensure pretest == tested == main
 #  - make deploy and test that chiark still works
+#  - make-release --dry-run
 #  - make-release
 #  - release announcement to mailing list
 #  - blog post
@@ -82,7 +83,7 @@ if [ "x$tag_exists" != x ]; then trouble "tag $tag already exists"; fi
 head -1 CHANGELOG.md | grep "^Version $version" \
 || trouble "CHANGELOG.md not updated"
 
-cargo_order='base . cli daemon wasm apitest wdriver jstest'
+cargo_order='base support . cli daemon wasm apitest wdriver jstest'
 missing=(git ls-files :\*/Cargo.toml :Cargo.toml)
 for x in $cargo_order; do missing+=(:!$x/Cargo.toml); done
 missing=$( "${missing[@]}" )
@@ -103,7 +104,8 @@ $dryrun git push origin $branch
 
 #---------- non-idempotent things ----------
 
-$dryrun make -j12 publish
+$dryrun make -j12 PUBLISH_VERSION=$version publish
+$dryrun make -j12 PUBLISH_VERSION=$version publish-make-current
 
 $dryrun git tag -s -u "$keyid" -m "Otter v$version" $tag
 $dryrun git push chiark $tag
@@ -130,8 +132,9 @@ wait_for_crates_io () {
 
 for cargo_dir in $cargo_order; do
     $dryrun_no_more_cargo \
-    nailing-cargo --no-nail --preclean-build=src --linkfarm=git --- \
+    nailing-cargo --no-nail --preclean-build=src --git --- \
         sh -xec "
+          unset http_proxy; unset https_proxy
           cd $cargo_dir; cargo publish $cargo_dryrun
         "