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.
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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 -
|
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 "`pwd`/sccache-0.2.13-x86_64-unknown-linux-musl" >> $GITHUB_PATH
|
||||||
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV
|
echo RUSTC_WRAPPER=sccache >> $GITHUB_ENV
|
||||||
- run: |
|
- run: rustc scripts/publish.rs
|
||||||
rustc scripts/publish.rs
|
# Make sure the tree is publish-able as-is
|
||||||
./publish verify
|
- run: ./publish verify
|
||||||
|
# Make sure we can bump version numbers for the next release
|
||||||
|
- run: ./publish bump
|
||||||
|
|||||||
Reference in New Issue
Block a user