Use semver auto-increment for daily version bumps (#29)

Replaces date-based versions (v2026.05.01) with semver minor bumps
(v1.7.0 -> v1.8.0) to stay consistent with the project's existing
version history.
This commit is contained in:
Adam Moussa 2026-05-01 15:00:51 -04:00 • committed by GitHub
parent 7116458efb
commit 55697748cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,7 +62,10 @@ jobs:
echo "has_changes=true" >> "$GITHUB_OUTPUT"
VERSION="v$(TZ=America/New_York date +%Y.%m.%d)"
# Auto-increment minor version (v1.7.0 -> v1.8.0)
MAJOR=$(echo "$LAST_TAG" | sed 's/^v//' | cut -d. -f1)
MINOR=$(echo "$LAST_TAG" | sed 's/^v//' | cut -d. -f2)
VERSION="v${MAJOR}.$((MINOR + 1)).0"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
# Build bullet lists from PR titles