Compare commits

..

1 Commits

Author SHA1 Message Date
jmiller 888f37c334 fix(ci): detect rebuild by branch name not version suffix [skip ci] 2026-06-19 01:51:59 +00:00
+3 -4
View File
@@ -102,12 +102,11 @@ jobs:
esac esac
# Bump version: minor only on branch elevation, patch for rebuilds # Bump version: minor only on branch elevation, patch for rebuilds
CURRENT=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "00.00.00") # Check branch name — if already on the target stability branch, it's a rebuild
BRANCH="${{ github.ref_name }}"
case "$STABILITY" in case "$STABILITY" in
release-candidate) release-candidate)
# If already on RC suffix, this is a rebuild — patch bump if [ "$BRANCH" = "rc" ]; then
# If not (e.g. coming from dev), this is an elevation — minor bump
if echo "$CURRENT" | grep -q '\-rc$'; then
BUMP="patch" BUMP="patch"
else else
BUMP="minor" BUMP="minor"