Skip to content

Commit 240b233

Browse files
committed
Cleaned Maven scripts
1 parent 4e75a68 commit 240b233

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

‎.travis/deploy_release.sh‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#!/bin/bash
22
set -ev
33

4-
VERSION=$(tr -d "/v/" <<<${TRAVIS_TAG})
5-
mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=${VERSION}
6-
74
mvn deploy -DskipTests -U -Prelease

‎.travis/deploy_snapshot.sh‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
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}"`
8-
9-
#echo "Changing snapshot version, OLD: ${OLD_VERSION} NEW: ${VERSION}"
10-
#mvn org.codehaus.mojo:versions-maven-plugin:2.7:set -DnewVersion=${VERSION}
11-
124
mvn deploy -DskipTests -U -Prelease

0 commit comments

Comments
 (0)