We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d97494e + 444ae51 commit 1da0f98Copy full SHA for 1da0f98
1 file changed
.github/workflows/bump-and-release.yml
@@ -110,7 +110,7 @@ jobs:
110
111
# === DEVELOPMENT ===
112
elif [ "$TARGET_BRANCH" == "development" ]; then
113
- if [[ "$CURRENT_VERSION" == *"-dev."* && "$SAME_TAG" == "true" ]]; then
+ if [[ "$SOURCE_BRANCH" == feat/* && "$SAME_TAG" == "true" ]]; then
114
NEW_VERSION="$MAJOR.$((MINOR + 1)).0-dev.1"
115
elif [[ "$CURRENT_VERSION" == *"-dev."* || "$SOURCE_BRANCH" == "main" ]]; then
116
LAST_NUM=${CURRENT_VERSION##*.}
0 commit comments