mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-457: Build linkage, tagging and release
- made the upstream cloning (build_functions.sh) more lenient
This commit is contained in:
@@ -79,9 +79,17 @@ function pullAndBuildSameBranchOnUpstream() {
|
|||||||
|
|
||||||
if ! remoteBranchExists "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" ; then
|
if ! remoteBranchExists "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" ; then
|
||||||
printf "Branch \"%s\" not found on the %s repository\n" "${SOURCE_BRANCH}" "${UPSTREAM_REPO}"
|
printf "Branch \"%s\" not found on the %s repository\n" "${SOURCE_BRANCH}" "${UPSTREAM_REPO}"
|
||||||
exit 1
|
#exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
local SOURCE_BRANCH="${TRAVIS_BRANCH}"
|
||||||
|
if ! remoteBranchExists "${UPSTREAM_REPO}" "${SOURCE_BRANCH}" ; then
|
||||||
|
printf "Branch \"%s\" not found on the %s repository\n" "${SOURCE_BRANCH}" "${UPSTREAM_REPO}"
|
||||||
|
#exit 1
|
||||||
|
fi
|
||||||
|
# TODO remove this line and enable the previous "exit" commands:
|
||||||
|
local SOURCE_BRANCH="master"
|
||||||
|
|
||||||
cloneRepo "${UPSTREAM_REPO}" "${SOURCE_BRANCH}"
|
cloneRepo "${UPSTREAM_REPO}" "${SOURCE_BRANCH}"
|
||||||
|
|
||||||
pushd "$(dirname "${BASH_SOURCE[0]}")/../../../"
|
pushd "$(dirname "${BASH_SOURCE[0]}")/../../../"
|
||||||
|
Reference in New Issue
Block a user