Skip to content

Commit 116f242

Browse files
fix: tag format is real date + commit hash (e.g. 2025.07.15-abc1234)
1 parent cf1ada3 commit 116f242

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: release
22

33
on:
44
push:
5-
tags: ["v*"]
5+
tags: ["20*.*.*-*"]
66

77
jobs:
88
build:

scripts/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -euo pipefail
88
GREEN='\033[0;32m'; YELLOW='\033[1;33m'; NC='\033[0m'
99
info() { echo -e "${GREEN}${NC} $1"; }
1010

11-
VERSION="v$(date +%Y.%m.%d)-$(git rev-parse --short HEAD)"
11+
VERSION="$(date +%Y.%m.%d)-$(git rev-parse --short HEAD)"
1212

1313
info "Tagging: $VERSION"
1414
git tag "$VERSION"

0 commit comments

Comments
 (0)