diff options
author | Carl Lerche <me@carllerche.com> | 2019-04-29 10:37:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 10:37:00 -0700 |
commit | ea282efb2ed438560f080a7c9a0079ec4c701c12 (patch) | |
tree | aa2c42f77660006439cf96a23e6f97c969947307 /ci | |
parent | 042224d33c073a97b860cc8bb7cc353c1a8a2a36 (diff) |
ci: fix isRelease condition (#1066)
Diffstat (limited to 'ci')
-rw-r--r-- | ci/azure-is-release.yml | 2 | ||||
-rw-r--r-- | ci/azure-test-stable.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ci/azure-is-release.yml b/ci/azure-is-release.yml index 014b7a98..d7271b34 100644 --- a/ci/azure-is-release.yml +++ b/ci/azure-is-release.yml @@ -2,7 +2,7 @@ steps: - bash: | 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" fi failOnStderr: true diff --git a/ci/azure-test-stable.yml b/ci/azure-test-stable.yml index cd4f8cf9..f53ca0eb 100644 --- a/ci/azure-test-stable.yml +++ b/ci/azure-test-stable.yml @@ -28,7 +28,7 @@ jobs: CI: 'True' displayName: cargo test -p ${{ crate }} workingDirectory: $(Build.SourcesDirectory)/${{ crate }} - condition: and(succeeded(), not(variables['isRelease'])) + condition: and(succeeded(), ne(variables['isRelease'], 'true')) - template: azure-patch-crates.yml |