diff --git a/.github/workflows/bump-and-release.yml b/.github/workflows/bump-and-release.yml index 5bdbd22..37e167e 100644 --- a/.github/workflows/bump-and-release.yml +++ b/.github/workflows/bump-and-release.yml @@ -116,7 +116,7 @@ jobs: elif [ "$TARGET_BRANCH" == "development" ]; then if [[ "$CURRENT_VERSION" == *"-dev."* && "$SAME_TAG" == "true" ]]; then NEW_VERSION="$MAJOR.$((MINOR + 1)).0-dev.1" - else if [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main"]] + else if [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main"]]; then LAST_NUM=${CURRENT_VERSION##*.} NEXT_NUM=$((LAST_NUM + 1)) NEW_VERSION="${BASE_VERSION}-dev.${NEXT_NUM}"