mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +08:00
Fix version generation in deployment script
This commit is contained in:
parent
7598a3c1f6
commit
29c3c3c717
@ -33,7 +33,7 @@ function deploy_teavm {
|
||||
fi
|
||||
rm response
|
||||
|
||||
TEAVM_DEPLOY_VERSION_FULL="$TEAVM_DEPLOY_VERSION.0-$TEAVM_DEPLOY_BUILD"
|
||||
TEAVM_DEPLOY_VERSION_FULL="$TEAVM_DEPLOY_VERSION.0-dev-$TEAVM_DEPLOY_BUILD"
|
||||
|
||||
if [[ "200" == `curl --output response --silent --write-out "%{http_code}" https://teavm.org/maven/versions/$TEAVM_DEPLOY_VERSION_FULL-commit.txt` ]] ; then
|
||||
if [[ "$TEAVM_DEPLOY_COMMIT_ID" == `cat response` ]] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user