mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
ACS-457: Build linkage, tagging and release
- reorder a few conditions in build.sh
This commit is contained in:
@@ -4,9 +4,11 @@ pushd "$(dirname "${BASH_SOURCE[0]}")/../../"
|
|||||||
|
|
||||||
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
|
source "$(dirname "${BASH_SOURCE[0]}")/build_functions.sh"
|
||||||
|
|
||||||
if [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] && [ "${TRAVIS_BRANCH}" = "master" ] && isBranchBuild ; then
|
if isBranchBuild && [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] ; then
|
||||||
|
# update ":latest" image tags on remote repositories by using the maven *internal* profile
|
||||||
PROFILES="-Pinternal"
|
PROFILES="-Pinternal"
|
||||||
else
|
else
|
||||||
|
# build the ":latest" image tags locally with the maven *communityDocker* profile
|
||||||
PROFILES="-PcommunityDocker"
|
PROFILES="-PcommunityDocker"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user