diff --git a/lib/message.sh b/lib/message.sh index 2f04122..124e971 100644 --- a/lib/message.sh +++ b/lib/message.sh @@ -14,7 +14,7 @@ make_pr_status() { ADDITIONAL_INFO="" if [[ -n "${BUMPER_CURRENT_VERSION:-}" ]]; then - COMPARE="**Changes**: [${BUMPER_CURRENT_VERSION}...${head_label}](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/compare/${BUMPER_CURRENT_VERSION}...${head_label})" + COMPARE="**Changes**: [${BUMPER_CURRENT_VERSION:-}...${head_label}](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/compare/${BUMPER_CURRENT_VERSION:-}...${head_label})" fi if [[ -n "${INPUT_BUMP_SEMVER}" && "${INPUT_BUMP_SEMVER}" == "true" ]]; then