Skip to content

Commit 2a0db26

Browse files
committed
Removed unecessary snapshot tagging
1 parent 618f47d commit 2a0db26

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis/deploy_snapshot.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/bin/bash
22
set -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

1212
cd utplsql-maven-plugin
1313
mvn deploy -DskipTests -U -Prelease

0 commit comments

Comments
 (0)