mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
ci: fix isRelease condition (#1066)
This commit is contained in:
parent
042224d33c
commit
ea282efb2e
@ -2,7 +2,7 @@ steps:
|
|||||||
- bash: |
|
- bash: |
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if git log --no-merges -1 --format='%s' | grep -q '[ci-release]'; then
|
if git log --no-merges -1 --format='%B' | grep -qF '[ci-release]'; then
|
||||||
echo "##vso[task.setvariable variable=isRelease]true"
|
echo "##vso[task.setvariable variable=isRelease]true"
|
||||||
fi
|
fi
|
||||||
failOnStderr: true
|
failOnStderr: true
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
|||||||
CI: 'True'
|
CI: 'True'
|
||||||
displayName: cargo test -p ${{ crate }}
|
displayName: cargo test -p ${{ crate }}
|
||||||
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|
workingDirectory: $(Build.SourcesDirectory)/${{ crate }}
|
||||||
condition: and(succeeded(), not(variables['isRelease']))
|
condition: and(succeeded(), ne(variables['isRelease'], 'true'))
|
||||||
|
|
||||||
- template: azure-patch-crates.yml
|
- template: azure-patch-crates.yml
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user