From 55697748cbf28eaf53a78054e3547a633bc5d366 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Fri, 1 May 2026 15:00:51 -0400 Subject: [PATCH] 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. --- .github/workflows/deploy-notify.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-notify.yml b/.github/workflows/deploy-notify.yml index 82e3a62..5e63d1c 100644 --- a/.github/workflows/deploy-notify.yml +++ b/.github/workflows/deploy-notify.yml @@ -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