Skip to content

Commit f9105c8

Browse files
committed
deploy snapshot version 2.3.1
1 parent 362625b commit f9105c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ script:
8787

8888
#after_success:
8989
# push a snapshot version to maven repo
90-
#- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then
91-
# mvn clean deploy --settings .travis/settings.xml;
92-
# echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
93-
# fi;
90+
- if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "master" ]; then
91+
mvn clean deploy --settings .travis/settings.xml;
92+
echo "Finished mvn clean deploy for $TRAVIS_BRANCH";
93+
fi;
9494

9595
env:
9696
- DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli

0 commit comments

Comments
 (0)