Skip to content

Commit

Permalink
Merge pull request #65 from AppDirect/deploy-bintray
Browse files Browse the repository at this point in the history
update to automatically deploy tags
  • Loading branch information
appdirect-opensource authored May 18, 2017
2 parents 0f2ba46 + db140f2 commit 7146524
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
language: java
jdk:
- oraclejdk8
deploy:
on:
tags: true
skip_cleanup: true
provider: script
script: mvn deploy --settings settings.xml
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@
</build>

<distributionManagement>
<snapshotRepository>
<id>snapshots</id>
<name>oss-jfrog-artifactory-snapshots</name>
<url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
</snapshotRepository>
<repository>
<id>bintray-appdirect-opensource-maven</id>
<name>appdirect-opensource-maven</name>
<url>https://api.bintray.com/maven/appdirect-opensource/maven/service-integration-sdk/;publish=1</url>
</repository>
</distributionManagement>
</project>
9 changes: 9 additions & 0 deletions settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>bintray-appdirect-opensource-maven</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
</servers>
</settings>

0 comments on commit 7146524

Please sign in to comment.