mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
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:
6
pom.xml
6
pom.xml
@@ -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>
|
||||||
|
|
||||||
|
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user