mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 07:53:11 +00:00
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:
parent
7116458efb
commit
55697748cb
1 changed files with 4 additions and 1 deletions
5
.github/workflows/deploy-notify.yml
vendored
5
.github/workflows/deploy-notify.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue