docs: 添加 Git Tag 日期版本号规范
This commit is contained in:
parent
f151b89fa5
commit
08a6bd8842
12
CLAUDE.md
12
CLAUDE.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue