added sonatype push

This commit is contained in:
Tony Tam 2017-06-27 09:35:08 -07:00
parent 62c0f17f98
commit eabc13e468

View File

@ -99,3 +99,8 @@ script:
env:
- DOCKER_GENERATOR_IMAGE_NAME=swaggerapi/swagger-generator DOCKER_CODEGEN_CLI_IMAGE_NAME=swaggerapi/swagger-codegen-cli
after_success:
- if [ $SONATYPE_USERNAME ] && [ -z "$TRAVIS_TAG" ] && [ ! "$TRAVIS_PULL_REQUEST" ]; then
mvn clean deploy --settings .travis/settings.xml;
fi;