Fix release script

This commit is contained in:
Alexey Andreev 2023-04-02 20:48:05 +02:00
parent ffcded86bb
commit da86bf5777

View File

@ -33,7 +33,7 @@ function release_teavm {
GRADLE+=" -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg" GRADLE+=" -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg"
GRADLE+=" -PossrhUsername=$TEAVM_SONATYPE_LOGIN" GRADLE+=" -PossrhUsername=$TEAVM_SONATYPE_LOGIN"
GRADLE+=" -PossrhPassword=$TEAVM_SONATYPE_PASSWORD" GRADLE+=" -PossrhPassword=$TEAVM_SONATYPE_PASSWORD"
GRADLE+=" -Pteavm.idea.publishToken='$TEAVM_INTELLIJ_TOKEN'" GRADLE+=" -Pteavm.idea.publishToken=$TEAVM_INTELLIJ_TOKEN"
$GRADLE build -x test || { echo 'Build failed' ; return 1; } $GRADLE build -x test || { echo 'Build failed' ; return 1; }
$GRADLE --max-workers 1 publish publishPlugin publishPlugins || { echo 'Release failed' ; return 1; } $GRADLE --max-workers 1 publish publishPlugin publishPlugins || { echo 'Release failed' ; return 1; }