Fix deploy script

This commit is contained in:
Alexey Andreev 2023-01-26 17:11:09 +01:00
parent e315398d9b
commit fcbcc30b21

View File

@ -51,7 +51,7 @@ function deploy_teavm {
GRADLE+=" -Pteavm.publish.password=$TEAVM_DEPLOY_PASSWORD" GRADLE+=" -Pteavm.publish.password=$TEAVM_DEPLOY_PASSWORD"
$GRADLE build || { echo 'Build failed' ; return 1; } $GRADLE build || { echo 'Build failed' ; return 1; }
$GRADLE publishAllPublicationsToTeavmRepository || { echo 'Deploy failed' ; return 1; } $GRADLE --max-workers 4 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 \
sftp://$TEAVM_DEPLOY_SERVER/idea/teavm-idea-$TEAVM_DEPLOY_VERSION_FULL.zip \ sftp://$TEAVM_DEPLOY_SERVER/idea/teavm-idea-$TEAVM_DEPLOY_VERSION_FULL.zip \
@ -99,5 +99,5 @@ if [[ "$EXIT_CODE" == '0' ]] ; then
fi fi
popd popd
#rm -rf build-dir rm -rf build-dir
#exit $EXIT_CODE exit $EXIT_CODE