Skip to content

Commit

Permalink
Use local gradle properties for travis publish (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
chbatey authored Aug 8, 2018
1 parent 1f939fc commit 2169e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
script: git branch -f "$TRAVIS_BRANCH" && git checkout "$TRAVIS_BRANCH" && sbt whitesourceCheckPolicies whitesourceUpdate
- stage: publish
script: sbt publish
- script: cd gradle-plugin && echo "gradle.publish.key=AwHNbsVBKA20KPzWQyCRbgGQHWa9Us5Y\ngradle.publish.secret=$GRADLE_SECRET" > ~/.gradle/gradle.properties && ./gradlew publishPlugins
- script: cd gradle-plugin && echo -e "gradle.publish.key=AwHNbsVBKA20KPzWQyCRbgGQHWa9Us5Y\ngradle.publish.secret=$GRADLE_SECRET" > gradle.properties && ./gradlew publishPlugins
- stage: techhub-ping
script: curl -I https://ci.lightbend.com/job/techhub-publisher/build?token=$TECH_HUB_TOKEN

Expand Down
1 change: 1 addition & 0 deletions gradle-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gradle.properties

0 comments on commit 2169e82

Please sign in to comment.