File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,21 @@ script:
3838
3939before_deploy :
4040 - bash .travis/create_release.sh
41+ - if [ ! -z "$TRAVIS_TAG" ]; then VERSION=$(tr -d "/v/" <<<$TRAVIS_TAG); mvn org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=${VERSION}; fi
4142
4243deploy :
4344 - provider : releases
4445 api_key : $GITHUB_API_TOKEN
4546 file : utPLSQL-cli.zip
4647 skip_cleanup : true
4748 on :
49+ repository : utPLSQL/utPLSQL-cli
4850 tags : true
4951 - provider : bintray
5052 file : bintray.json
51- user : $BINTRAY_USER
52- key : $BINTRAY_API_KEY
53+ user : ${ BINTRAY_USER}
54+ key : ${ BINTRAY_API_KEY}
5355 dry-run : false
54- on : develop
56+ on :
57+ repository : utPLSQL/utPLSQL-cli
58+ branch : develop
Original file line number Diff line number Diff line change 1313 sudo cp $CACHE_DIR /wagon-http-2.8-shaded.jar $MAVEN_HOME /lib/ext/
1414fi
1515
16- # Create the settings file with oracle server config.
17- # If file already exists, Oracle dependencies were cached on previous build.
18- if [ ! -f $MAVEN_CFG /.cached ]; then
19- cp settings.xml $MAVEN_CFG /settings.xml
20- touch $MAVEN_CFG /.cached
21- else
22- echo " Using cached maven settings..."
23- fi
16+ cp settings.xml $MAVEN_CFG /settings.xml
2417
You can’t perform that action at this time.
0 commit comments