From 7c71ae565294a6ecddb71dd2072468b09ec2c4aa Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 5 May 2022 13:03:53 -0500 Subject: [PATCH] Verify `./publish bump` works on each commit (#4098) The automated release process failed last night because the `./publish bump` process failed to automatically increment the version number. This is fixed in #4097 but it also seems prudent to run this continually on CI as well to ensure that this doesn't regress again. --- .github/workflows/main.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d843bb808..3d5bed53c3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -459,6 +459,8 @@ jobs: curl -L https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz | tar xzf - echo "`pwd`/sccache-0.2.13-x86_64-unknown-linux-musl" >> $GITHUB_PATH echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV - - run: | - rustc scripts/publish.rs - ./publish verify + - run: rustc scripts/publish.rs + # Make sure the tree is publish-able as-is + - run: ./publish verify + # Make sure we can bump version numbers for the next release + - run: ./publish bump