Skip to content

Commit

Permalink
Merge pull request #28 from kicksolutions/releaseBranch
Browse files Browse the repository at this point in the history
Travis Release branch Changes
  • Loading branch information
santoshm1188 authored Dec 17, 2017
2 parents 020ff28 + a793a24 commit a23b98a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
13 changes: 11 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,22 @@ install:
before_script:
mvn cobertura:cobertura

## Build and release to maven central
## Build SNAPSHOTS and release to maven central
script:
mvn deploy --settings cfg/maven/CI/settings.xml -DskipTests=true -B -U -Prelease
mvn deploy --settings cfg/maven/CI/settings.xml -DskipTests=true -B -Prelease

after_success:
- bash <(curl -s https://codecov.io/bash)

deploy:
provider: script
script: mvn --settings cfg/maven/CI/settings.xml org.codehaus.mojo:versions-maven-plugin:2.3:set -DnewVersion=$TRAVIS_TAG -Prelease
on:
tags: true
branch: kicksolutions/swagger2puml

after_deploy: mvn clean deploy --settings cfg/maven/CI/settings.xml -DskipTests=true -DnewVersion=$TRAVIS_TAG -B -Prelease

notifications:
email:
- [email protected]
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>io.github.kicksolutions</groupId>
<artifactId>swagger-plantuml-reactor</artifactId>
<version>0.0.1-alpha</version>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>

<url>https://github.com/kicksolutions/swagger2puml</url>
Expand Down
5 changes: 2 additions & 3 deletions swagger2puml-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
<parent>
<groupId>io.github.kicksolutions</groupId>
<artifactId>swagger-plantuml-reactor</artifactId>
<version>0.0.1-alpha</version>
<version>0.0.1-SNAPSHOT</version>
</parent>

<groupId>io.github.kicksolutions</groupId>
<artifactId>swagger-plantuml-core</artifactId>
<version>0.0.1-alpha</version>
<name>swagger-plantuml-core</name>
<version>0.0.1-SNAPSHOT</version>
<description>Core POM to generate Plant UML from Swagger</description>

<packaging>jar</packaging>
Expand Down

0 comments on commit a23b98a

Please sign in to comment.