docs: 添加 Git Tag 日期版本号规范

This commit is contained in:
aiyimickey 2026-05-18 14:59:09 +08:00
parent f151b89fa5
commit 08a6bd8842
1 changed files with 12 additions and 0 deletions

View File

@ -91,6 +91,18 @@ ssh txjp "cd /root/docker/ldap-ai && docker compose up -d"
---
## Git Tag 规范
使用日期版本号 `vYYYY.MM.DD`(如 `v2026.05.18`)。提交后打 tag 再推送:
```bash
git tag v$(date +%Y.%m.%d) && git push origin main && git push origin v$(date +%Y.%m.%d)
```
同一天多次提交只打一个 tag。详见根目录 `CLAUDE.md`
---
## 服务器操作
```bash