From 036e7e5ffeb5972278007b3c285df2760eb34977 Mon Sep 17 00:00:00 2001 From: alex9849 Date: Fri, 3 Jul 2020 13:34:24 +0200 Subject: [PATCH] Travis tag version --- .travis.yml | 2 +- .travis/mvn-deploy.sh | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 .travis/mvn-deploy.sh diff --git a/.travis.yml b/.travis.yml index b2dac73f..822742f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ jdk: - openjdk8 script: - - chmod +x .travis/mvn-deploy.sh + - "mvn versions:set -DnewVersion=$TRAVIS_TAG" - mvn clean - mvn install after_success: diff --git a/.travis/mvn-deploy.sh b/.travis/mvn-deploy.sh deleted file mode 100644 index 90c01cf5..00000000 --- a/.travis/mvn-deploy.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -set -e - -echo "Ensuring that pom matches $TRAVIS_TAG" -mvn org.codehaus.mojo:versions-maven-plugin:2.5:set -DartifactId=advancedregionmarket -DnewVersion=$TRAVIS_TAG - -echo "Uploading to oss repo and GitHub" -mvn deploy --settings .travis/settings.xml -DskipTests=true --batch-mode --update-snapshots -Prelease \ No newline at end of file