From a3e50fe8d0533ea5ff646707bf720d48b04d8cb0 Mon Sep 17 00:00:00 2001 From: ehardon Date: Mon, 19 Oct 2020 16:55:10 +0300 Subject: [PATCH] Update release script to use username and password and scm urls to use https [skip tests] [internal enterprise release 2.7.3-A1 2.7.3-SNAPSHOT] --- pom.xml | 6 +++--- scripts/release.sh | 6 ++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 4ec9b44259..5ae99fc8fd 100644 --- a/pom.xml +++ b/pom.xml @@ -21,9 +21,9 @@ - scm:git:ssh://git@github.com/Alfresco/governance-services.git - scm:git:ssh://git@github.com/Alfresco/governance-services.git - scm:git:ssh://git@github.com/Alfresco/governance-services.git + scm:git:https://git@github.com/Alfresco/governance-services.git + scm:git:https://git@github.com/Alfresco/governance-services.git + scm:git:https://git@github.com/Alfresco/governance-services.git HEAD diff --git a/scripts/release.sh b/scripts/release.sh index 479e9ec97c..dad187a0b3 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -3,9 +3,6 @@ set -e # Use full history for release git checkout -B "${TRAVIS_BRANCH}" -# Add email to link commits to user -git config user.email "${GIT_COMMITTER_EMAIL}" -git config user.name "${GIT_COMMITTER_NAME}" release_type=$1 echo Release type: "$release_type" @@ -23,7 +20,8 @@ if [ -z ${RELEASE_VERSION} ] || [ -z ${DEVELOPMENT_VERSION} ]; exit 1 else mvn --batch-mode \ - -settings .travis.settings.xml \ + -Dusername="${GITHUB_USERNAME}" \ + -Dpassword="${GITHUB_PASSWORD}" \ -DreleaseVersion=${RELEASE_VERSION} \ -DdevelopmentVersion=${DEVELOPMENT_VERSION} \ -DskipTests -D${release_type} -DuseReleaseProfile=false \