mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Modify release command
This commit is contained in:
+5
-1
@@ -164,9 +164,13 @@ jobs:
|
||||
# if: fork = false AND (branch = master OR branch =~ /support\/.*/) AND type != pull_request AND commit_message =~ /\[release\]/
|
||||
# if: commit_message =~ /\[release\]/
|
||||
install:
|
||||
# Use full history for release
|
||||
- git checkout -B "${TRAVIS_BRANCH}"
|
||||
# Add email to link commits to user
|
||||
- git config user.email "${GIT_EMAIL}"
|
||||
- travis_retry travis_wait 60 mvn --batch-mode -q clean package -DskipTests
|
||||
script:
|
||||
- travis_wait 60 mvn --batch-mode -DreleaseVersion=$RELEASE_VERSION -DdevelopmentVersion=$DEVELOPMENT_VERSION release:prepare release:perform -DskipTests "-Darguments=-DskipTests -Dadditionalparam=-Xdoclint:none"
|
||||
- travis_wait 60 mvn --batch-mode -DreleaseVersion=$RELEASE_VERSION -DdevelopmentVersion=$DEVELOPMENT_VERSION -DscmCommentPrefix="[maven-release-plugin][skip ci]" -DskipTests "-Darguments=-DskipTests -Dadditionalparam=-Xdoclint:none" release:prepare release:perform
|
||||
deploy:
|
||||
- provider: s3
|
||||
access_key_id: ${AWS_STAGING_ACCESS_KEY}
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<project.timestamp>${maven.build.timestamp}</project.timestamp>
|
||||
<project.revision.key>${bamboo_repository_revision_number}</project.revision.key>
|
||||
</properties>
|
||||
<parent>
|
||||
<groupId>org.alfresco</groupId>
|
||||
|
||||
Reference in New Issue
Block a user