Skip to content

Commit a896622

Browse files
committed
Damn it, now it should work Travis
1 parent 73e7dd4 commit a896622

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.buildscript/deploy_snapshot.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ elif [ "$TRAVIS_BRANCH" != "$BRANCH" ]; then
2323
else
2424
echo "Deploying ..."
2525
openssl aes-256-cbc -K $encrypted_abf389171084_key -iv $encrypted_abf389171084_iv -in .buildscript/private.key.enc -out private.key -d
26-
./gradlew uploadArchives
2726
gpg --import private.key
28-
29-
echo "u $CI_DEPLOY_USERNAME $NEXUS_USERNAME"
3027
echo "SONATYPE_NEXUS_USERNAME=$CI_DEPLOY_USERNAME" >> gradle.properties
3128
echo "SONATYPE_NEXUS_PASSWORD=$CI_DEPLOY_PASSWORD" >> gradle.properties
3229
echo "NEXUS_USERNAME=$CI_DEPLOY_USERNAME" >> gradle.properties
@@ -36,6 +33,7 @@ else
3633
echo "signing.secretKeyRingFile=/home/travis/.gnupg/secring.gpg" >> gradle.properties
3734
echo "org.gradle.parallel=false" >> gradle.properties
3835
echo "org.gradle.configureondemand=false" >> gradle.properties
36+
./gradlew uploadArchives
3937
rm private.key
4038
git reset --hard
4139
echo "Deployed!"

0 commit comments

Comments
 (0)