From c314f42edc749018b970947b3b3bf2d8cff91ddf Mon Sep 17 00:00:00 2001 From: Tim Chamberlain Date: Tue, 25 Mar 2025 13:51:16 -0500 Subject: [PATCH] removed trailing slash when looking for integration branch --- .circleci/adjust-pom-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/adjust-pom-version.sh b/.circleci/adjust-pom-version.sh index 2d139812..614c6067 100755 --- a/.circleci/adjust-pom-version.sh +++ b/.circleci/adjust-pom-version.sh @@ -27,14 +27,14 @@ if [ \! $(echo "$REVISION" | grep SNAPSHOT) ]; then fi ################################################################################## -## ## figure out if we need a SLUG: a snapshot- tag, or an integration/ branch ## +## ## figure out if we need a SLUG: a snapshot- tag, or an integration branch ## ################################################################################## SLUG="" if [ $(echo "$CIRCLE_TAG" | grep ^snapshot-) ]; then SLUG=$(echo "$CIRCLE_TAG" | sed "s/^snapshot-//")- echo "Using slug [$SLUG] from tag [$CIRCLE_TAG]" -elif [ $(echo "$CIRCLE_BRANCH" | grep ^integration/) ]; then +elif [ $(echo "$CIRCLE_BRANCH" | grep ^integration) ]; then SLUG=$(echo "$CIRCLE_BRANCH" | sed "s,/,-,g")- echo "Using slug [$SLUG] from branch [$CIRCLE_BRANCH]" fi