File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2020 - CACHE_DIR=$HOME/.cache
2121 - MAVEN_HOME=/usr/local/maven
2222 - MAVEN_CFG=$HOME/.m2
23- - MAVEN_HELP_PLUGIN="org.apache.maven.plugins:maven-help-plugin:3.1.0"
24- - MAVEN_VERSION_PLUGIN="org.codehaus.mojo:versions-maven-plugin:2.7"
2523 - DB_URL="127.0.0.1:1521:XE"
2624 - DB_UT3_USER=ut3
2725 - DB_UT3_PASS=ut3
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -ev
33
4- VERSION=$( tr -d " /v/" <<< $TRAVIS_TAG ) ;
5- mvn $MAVEN_VERSION_PLUGIN : set -DnewVersion=${VERSION} ;
4+ VERSION=$( tr -d " /v/" <<< ${ TRAVIS_TAG} )
5+ mvn org.codehaus.mojo:versions-maven-plugin:2.7: set -DnewVersion=${VERSION}
66
77cd utplsql-maven-plugin
88mvn deploy -DskipTests -U -Prelease
Original file line number Diff line number Diff line change 22set -ev
33
44DATE=` date +%Y%m%d%H%M`
5- OLD_VERSION=` mvn -q ${MAVEN_HELP_PLUGIN} :evaluate -DforceStdout -Dexpression=project.version`
5+ OLD_VERSION=` mvn -q org.apache.maven.plugins:maven-help-plugin:3.1.0 :evaluate -DforceStdout -Dexpression=project.version`
66VERSION=` sed " s/-SNAPSHOT/-${DATE} -SNAPSHOT/g" <<< " ${OLD_VERSION}" `
77
88echo " Changing snapshot version, OLD: ${OLD_VERSION} NEW: ${VERSION} "
9- mvn $MAVEN_VERSION_PLUGIN : set -DnewVersion=${VERSION} ;
9+ mvn org.codehaus.mojo:versions-maven-plugin:2.7: set -DnewVersion=${VERSION}
1010
1111cd utplsql-maven-plugin
1212mvn deploy -DskipTests -U -Prelease
You can’t perform that action at this time.
0 commit comments