(ci) Fix cargo path in check_release_automation task
This commit is contained in:
parent
522a38b0b1
commit
a84dbf710d
1 changed files with 7 additions and 6 deletions
|
@ -83,26 +83,27 @@ jobs:
|
||||||
- script: |
|
- script: |
|
||||||
export CARGO_HOME="$HOME/.cargo"
|
export CARGO_HOME="$HOME/.cargo"
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||||
|
echo "##vso[task.setvariable variable=PATH;]$PATH:$HOME/.cargo/bin"
|
||||||
displayName: Install stable Rust
|
displayName: Install stable Rust
|
||||||
- script: |
|
- script: |
|
||||||
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
|
_build/cargo-make.sh "0.20.0" "x86_64-unknown-linux-musl"
|
||||||
displayName: Install cargo-make binary
|
displayName: Install cargo-make binary
|
||||||
- script: |
|
- script: |
|
||||||
$HOME/.cargo/bin/cargo install cargo-release
|
cargo install --debug cargo-release
|
||||||
displayName: Install cargo-release binary
|
displayName: Install cargo-release binary
|
||||||
- script: |
|
- script: |
|
||||||
git config --local user.name "Release Test Bot"
|
git config --local user.name "Release Test Bot"
|
||||||
git config --local user.email "juniper@example.com"
|
git config --local user.email "juniper@example.com"
|
||||||
displayName: Set up git
|
displayName: Set up git
|
||||||
- script: |
|
- script: |
|
||||||
RELEASE_LEVEL="minor" "$HOME/.cargo/bin/cargo" make release-dry-run
|
RELEASE_LEVEL="minor" cargo make release-dry-run
|
||||||
displayName: Dry run mode
|
displayName: Dry run mode
|
||||||
- script: |
|
- script: |
|
||||||
RELEASE_LEVEL="minor" "$HOME/.cargo/bin/cargo" make release-local-test
|
RELEASE_LEVEL="minor" cargo make release-local-test
|
||||||
displayName: Local test mode
|
displayName: Local test mode
|
||||||
- script: |
|
- script: |
|
||||||
git --no-pager log -p HEAD...HEAD~20
|
git --no-pager log -p HEAD...HEAD~20
|
||||||
displayName: Echo local changes
|
# NOTE: this is rolled into one task due to onerous
|
||||||
- script: |
|
# "bash not found" error on Azure.
|
||||||
cargo make workspace-ci-flow --no-workspace
|
cargo make workspace-ci-flow --no-workspace
|
||||||
displayName: Make sure build and tests still work
|
displayName: Echo local changes && make sure build and tests still work
|
||||||
|
|
Loading…
Reference in a new issue