diff --git a/scripts/travis/build.sh b/scripts/travis/build.sh index 9349bf35a..c87650915 100644 --- a/scripts/travis/build.sh +++ b/scripts/travis/build.sh @@ -28,12 +28,6 @@ fi UPSTREAM_REPO="github.com/Alfresco/alfresco-community-repo.git" -# For release jobs, check if the upstream dependency is the latest tag on the upstream repository (on the same branch) -if isBranchBuild && [ "${TRAVIS_BUILD_STAGE_NAME,,}" = "release" ] && [ "${COM_DEPENDENCY_VERSION}" != "$(retieveLatestTag "${UPSTREAM_REPO}" "${TRAVIS_BRANCH}")" ] ; then - printf "Upstream dependency is not up to date with %s / %s\n" "${UPSTREAM_REPO}" "${TRAVIS_BRANCH}" - exit 1 -fi - # Search, checkout and build the same branch on the upstream project in case of SNAPSHOT dependencies # Otherwise, checkout the upstream tag and build its Docker image (use just "mvn package", without "mvn install") if [[ "${COM_DEPENDENCY_VERSION}" =~ ^.+-SNAPSHOT$ ]] ; then