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]

This commit is contained in:
ehardon
2020-10-19 16:55:10 +03:00
parent 585a015a0f
commit a3e50fe8d0
2 changed files with 5 additions and 7 deletions

View File

@@ -21,9 +21,9 @@
</organization> </organization>
<scm> <scm>
<connection>scm:git:ssh://git@github.com/Alfresco/governance-services.git</connection> <connection>scm:git:https://git@github.com/Alfresco/governance-services.git</connection>
<developerConnection>scm:git:ssh://git@github.com/Alfresco/governance-services.git</developerConnection> <developerConnection>scm:git:https://git@github.com/Alfresco/governance-services.git</developerConnection>
<url>scm:git:ssh://git@github.com/Alfresco/governance-services.git</url> <url>scm:git:https://git@github.com/Alfresco/governance-services.git</url>
<tag>HEAD</tag> <tag>HEAD</tag>
</scm> </scm>

View File

@@ -3,9 +3,6 @@ set -e
# Use full history for release # Use full history for release
git checkout -B "${TRAVIS_BRANCH}" 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 release_type=$1
echo Release type: "$release_type" echo Release type: "$release_type"
@@ -23,7 +20,8 @@ if [ -z ${RELEASE_VERSION} ] || [ -z ${DEVELOPMENT_VERSION} ];
exit 1 exit 1
else else
mvn --batch-mode \ mvn --batch-mode \
-settings .travis.settings.xml \ -Dusername="${GITHUB_USERNAME}" \
-Dpassword="${GITHUB_PASSWORD}" \
-DreleaseVersion=${RELEASE_VERSION} \ -DreleaseVersion=${RELEASE_VERSION} \
-DdevelopmentVersion=${DEVELOPMENT_VERSION} \ -DdevelopmentVersion=${DEVELOPMENT_VERSION} \
-DskipTests -D${release_type} -DuseReleaseProfile=false \ -DskipTests -D${release_type} -DuseReleaseProfile=false \