Skip to content

Commit 56b4528

Browse files
committed
calver
1 parent 512f7f7 commit 56b4528

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/monthly-tag.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ jobs:
4040

4141
- name: Create and push the tag
4242
run: |
43-
# E.g. 1.0.0
44-
VERSION_BASE=$(cat VERSION | awk '{$1=$1};1')
45-
# E.g. 1.0.0.2407
46-
VERS=$VERSION_BASE.$(date +%y%m)
43+
# CalVer, e.g. 2024.07.19
44+
VERS=$(date +%Y.%m.%d)
4745
git config --global user.name 'Monthly Tag bot'
4846
git config --global user.email '[email protected]'
4947
git tag "$VERS" -a -m "Monthly version $VERS"

0 commit comments

Comments
 (0)