We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3cbf5 commit dcef0d1Copy full SHA for dcef0d1
1 file changed
.github/workflows/bump-and-release.yml
@@ -116,7 +116,7 @@ jobs:
116
elif [ "$TARGET_BRANCH" == "development" ]; then
117
if [[ "$CURRENT_VERSION" == *"-dev."* && "$SAME_TAG" == "true" ]]; then
118
NEW_VERSION="$MAJOR.$((MINOR + 1)).0-dev.1"
119
- else if [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main"]]
+ else if [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main"]]; then
120
LAST_NUM=${CURRENT_VERSION##*.}
121
NEXT_NUM=$((LAST_NUM + 1))
122
NEW_VERSION="${BASE_VERSION}-dev.${NEXT_NUM}"
0 commit comments