File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22set -ev
33
4- DATE=` date +%Y%m%d%H%M`
5- # using this solution to get version into variable: https://stackoverflow.com/a/26514030/1470603
6- OLD_VERSION=$( mvn -q -Dexec.executable=echo -Dexec.args=' ${project.version}' --non-recursive exec:exec)
7- VERSION=` sed " s/-SNAPSHOT/-${DATE} -SNAPSHOT/g" <<< " ${OLD_VERSION}" `
4+ # DATE=`date +%Y%m%d%H%M`
5+ # Using this solution to get version into variable: https://stackoverflow.com/a/26514030/1470603
6+ # OLD_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)
7+ # VERSION=`sed "s/-SNAPSHOT/-${DATE}-SNAPSHOT/g" <<<"${OLD_VERSION}"`
88
9- echo " Changing snapshot version, OLD: ${OLD_VERSION} NEW: ${VERSION} "
10- mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=${VERSION}
9+ # echo "Changing snapshot version, OLD: ${OLD_VERSION} NEW: ${VERSION}"
10+ # mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=${VERSION}
1111
1212cd utplsql-maven-plugin
1313mvn deploy -DskipTests -U -Prelease
You can’t perform that action at this time.
0 commit comments