mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix deploy script
This commit is contained in:
parent
e315398d9b
commit
fcbcc30b21
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user