Merge pull request #763 from openziti/fix-release-build-smoketest

fix regex to match release|main branch
This commit is contained in:
Ken Bingham
2022-06-13 12:06:50 -04:00
committed by GitHub
+1 -1
View File
@@ -158,7 +158,7 @@ jobs:
# fail the job because we could not obtain the current version from ziti-ci
echo "ERROR: ZITI_VERSION=${ZITI_VERSION}"
exit 1
elif [[ "${GITHUB_REF}" =~ ^refs/heads/(release-v|main/) ]]; then
elif [[ "${GITHUB_REF}" =~ ^refs/heads/(release-v|main$) ]]; then
# Set output parameters for release branches
echo "DEBUG: ZITI_VERSION=${ZITI_VERSION}"
echo ::set-output name=ziti-version::${ZITI_VERSION}