From df0d53795cac40b6652de57f60e330d794a3664c Mon Sep 17 00:00:00 2001 From: Jim Schubert Date: Sun, 24 Mar 2019 22:19:19 -0400 Subject: [PATCH] Publish to gradle plugin prior to sonatype (#2496) --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a1b712149f..cd58102ed5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -131,6 +131,8 @@ after_success: echo "Finished mvn clean deploy for $TRAVIS_BRANCH"; pushd .; cd modules/openapi-generator-gradle-plugin; + ./gradlew clean publishPlugins; + echo "Finished ./gradlew publishPlugins (plugin portal)"; ./gradlew -Psigning.keyId="$SIGNING_KEY" -Psigning.password="$SIGNING_PASSPHRASE" -Psigning.secretKeyRingFile="${TRAVIS_BUILD_DIR}/sec.gpg" -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" uploadArchives --no-daemon; echo "Finished ./gradlew uploadArchives"; popd; @@ -139,6 +141,8 @@ after_success: echo "Finished mvn clean deploy for $TRAVIS_BRANCH"; pushd .; cd modules/openapi-generator-gradle-plugin; + ./gradlew clean publishPlugins; + echo "Finished ./gradlew publishPlugins (plugin portal)"; ./gradlew -PossrhUsername="${SONATYPE_USERNAME}" -PossrhPassword="${SONATYPE_PASSWORD}" uploadArchives --no-daemon; echo "Finished ./gradlew uploadArchives"; popd;