mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Fixup scala 2.13 check (#8881)
* Fixup scala 2.13 check Somehow I managed to misread the helpcheck and get confused by my experiments and thought semver produces an exit code of 1,0,-1 but actually it writes that to stdout. changelog_begin changelog_end * Update ci/build.yml Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> * Update ci/build.yml Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com> Co-authored-by: Samir Talwar <samir.talwar@digitalasset.com>
This commit is contained in:
parent
ba6ba9019f
commit
5843b193fd
@ -384,10 +384,10 @@ jobs:
|
|||||||
setvar is_release false
|
setvar is_release false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ret=0
|
|
||||||
# This is the last snapshot that does not support Scala 2.13.
|
# This is the last snapshot that does not support Scala 2.13.
|
||||||
semver compare "$RELEASE_TAG" "1.11.0-snapshot.20210212.6300.0.ad161d7f" || ret=$?
|
CMP="$(semver compare "$RELEASE_TAG" '1.11.0-snapshot.20210212.6300.0.ad161d7f')"
|
||||||
if [[ $ret -eq 1 || "$RELEASE_TAG" == "0.0.0" ]]; then
|
|
||||||
|
if [[ $CMP == '1' || "$RELEASE_TAG" == '0.0.0' ]]; then
|
||||||
setvar scala_2_13 true
|
setvar scala_2_13 true
|
||||||
else
|
else
|
||||||
setvar scala_2_13 false
|
setvar scala_2_13 false
|
||||||
@ -546,4 +546,3 @@ jobs:
|
|||||||
# value or empty string, but not $(Azure.Variable.Name)).
|
# value or empty string, but not $(Azure.Variable.Name)).
|
||||||
PR_NUM: $(pr.num)
|
PR_NUM: $(pr.num)
|
||||||
PR_BRANCH: $(pr.branch)
|
PR_BRANCH: $(pr.branch)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user