Skip to content

Commit bc43080

Browse files
committed
fix: test
1 parent dcef0d1 commit bc43080

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/bump-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
elif [ "$TARGET_BRANCH" == "development" ]; then
117117
if [[ "$CURRENT_VERSION" == *"-dev."* && "$SAME_TAG" == "true" ]]; then
118118
NEW_VERSION="$MAJOR.$((MINOR + 1)).0-dev.1"
119-
else if [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main"]]; then
119+
elif [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main" ]]; then
120120
LAST_NUM=${CURRENT_VERSION##*.}
121121
NEXT_NUM=$((LAST_NUM + 1))
122122
NEW_VERSION="${BASE_VERSION}-dev.${NEXT_NUM}"

0 commit comments

Comments
 (0)