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 \