Fix deploy script

This commit is contained in:
Alexey Andreev 2023-01-26 12:48:31 +01:00
parent 1bcebfe11f
commit 31ff776f1b

View File

@ -50,7 +50,7 @@ function deploy_teavm {
GRADLE+=" -Pteavm.publish.username=$TEAVM_DEPLOY_LOGIN" GRADLE+=" -Pteavm.publish.username=$TEAVM_DEPLOY_LOGIN"
GRADLE+=" -Pteavm.publish.password=$TEAVM_DEPLOY_PASSWORD" GRADLE+=" -Pteavm.publish.password=$TEAVM_DEPLOY_PASSWORD"
$GRADLE build -x test || { echo 'Build failed' ; return 1; } $GRADLE build || { echo 'Build failed' ; return 1; }
$GRADLE publishAllPublicationsToTeavmRepository || { echo 'Deploy failed' ; return 1; } $GRADLE publishAllPublicationsToTeavmRepository || { echo 'Deploy failed' ; return 1; }
curl -T tools/idea/build/distributions/idea-$TEAVM_DEPLOY_VERSION_FULL.zip \ curl -T tools/idea/build/distributions/idea-$TEAVM_DEPLOY_VERSION_FULL.zip \