Add default value for CIRCLE_TAG

This commit is contained in:
Rodrigo Q. Saramago 2023-04-23 13:36:28 +02:00
parent b75bddbd11
commit 1fb9a414c9
No known key found for this signature in database
GPG Key ID: 9B36B2525704A359

View File

@ -72,7 +72,7 @@ function format_predefined_message() {
# Set message environment variables based on CI backend
if [[ "$CIRCLECI" = true ]] ; then
BRANCH="$CIRCLE_BRANCH"
TAG="$CIRCLE_TAG"
TAG="${CIRCLE_TAG:-}"
BUILD_URL="$CIRCLE_BUILD_URL"
BUILD_NUM="$CIRCLE_BUILD_NUM"
WORKFLOW_NAME="$(circleci_workflow_name)"