Skip to content

Commit

Permalink
Added script to get key and secret to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Brimfors committed May 14, 2019
1 parent 1f15b65 commit 659b5a8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ jdk: oraclejdk8

jobs:
include:
- stage: Build and test
script: ./gradlew build
- stage: Publish to gradle portal
script: ./gradlew -PreleaseVersion=$TRAVIS_TAG :publishPlugins
if: tag IS present
- stage: "Build and test"
script: "./gradlew build"
- stage: "Publish to gradle portal"
script:
- echo -e "gradle.publish.key=$APIKEY\ngradle.publish.secret=$APISECRET" > $HOME_DIR/.gradle/gradle.properties
- "./gradlew -PreleaseVersion=$TRAVIS_TAG :publishPlugins"
if: "tag IS present"

0 comments on commit 659b5a8

Please sign in to comment.