diff --git a/scripts/travis/update_downstream.sh b/scripts/travis/update_downstream.sh index f852909fcb..d8f54c3c8e 100644 --- a/scripts/travis/update_downstream.sh +++ b/scripts/travis/update_downstream.sh @@ -11,8 +11,8 @@ git fetch origin "${TRAVIS_BRANCH}" git checkout "${TRAVIS_BRANCH}" git pull -# Retrieve the current Community version -VERSION="$(evaluatePomProperty "project.version")" +# Retrieve the current Community version - latest tag on the current branch +VERSION="$(git describe --abbrev=0 --tags)" DOWNSTREAM_REPO="github.com/Alfresco/alfresco-enterprise-repo.git"