mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +08:00
Fix release script
This commit is contained in:
parent
121c6c9d89
commit
778a1c9002
@ -17,7 +17,7 @@
|
||||
mkdir -p build-dir
|
||||
|
||||
git fetch
|
||||
git archive master | tar -x -C build-dir || { echo 'Git archive failed' ; exit 1; }
|
||||
git archive release-0.8.x | tar -x -C build-dir || { echo 'Git archive failed' ; exit 1; }
|
||||
|
||||
TEAVM_RELEASE_VERSION=$1
|
||||
|
||||
@ -33,7 +33,7 @@ function release_teavm {
|
||||
GRADLE+=" -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg"
|
||||
GRADLE+=" -PossrhUsername=$TEAVM_SONATYPE_LOGIN"
|
||||
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 --max-workers 1 publish publishPlugin publishPlugins || { echo 'Release failed' ; return 1; }
|
||||
|
Loading…
Reference in New Issue
Block a user