From 1c7bbe6c29cfe0bf376740bfa2699bf78dec08b1 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Thu, 3 Mar 2022 11:03:20 +0000 Subject: [PATCH] ACS-2608 Rename bash variable to match convention. --- scripts/travis/update_downstream.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/travis/update_downstream.sh b/scripts/travis/update_downstream.sh index 8946c6e295..b4316a0307 100644 --- a/scripts/travis/update_downstream.sh +++ b/scripts/travis/update_downstream.sh @@ -34,8 +34,8 @@ git --no-pager diff pom.xml git add pom.xml if [[ "${TRAVIS_COMMIT_MESSAGE}" =~ \[force[^\]]*\] ]]; then - forceToken=$(echo "${TRAVIS_COMMIT_MESSAGE}" | sed "s|^.*\(\[force[^]]*\]\).*$|\1|g") - git commit --allow-empty -m "${forceToken} Update upstream version to ${VERSION}" + FORCE_TOKEN=$(echo "${TRAVIS_COMMIT_MESSAGE}" | sed "s|^.*\(\[force[^]]*\]\).*$|\1|g") + git commit --allow-empty -m "${FORCE_TOKEN} Update upstream version to ${VERSION}" git push elif git status --untracked-files=no --porcelain | grep -q '^' ; then git commit -m "Update upstream version to ${VERSION}"