From 89add5e25fa09c4d0a9825afeaf612733e821e6f Mon Sep 17 00:00:00 2001 From: "kaiyu.shan" Date: Tue, 5 Nov 2024 11:46:41 +0800 Subject: [PATCH] =?UTF-8?q?docs(mumu):=20=E6=9B=B4=E6=96=B0CONTRIBUTING?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CONTRIBUTING.md | 9 +++------ CONTRIBUTING.zh_CN.md | 6 +++--- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 20cd217d4..42f0d54fb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -169,13 +169,10 @@ features and known issues in detail in the release notes to help users make choi ### Other version control specifications -Although semantic versioning is the most widely accepted standard, other specifications and -variations exist: +This project uses additional Git Short Hash to improve version control: -1. **Date Versioning**: Use date as part of the version number, such as `2024.09.04`. This method is - suitable for projects with a high release frequency. -2. **Git Hash**: Some projects will use the Git commit hash as part of the version number, - especially during development or continuous integration. +1. **Git Short Hash**: Use Git short commit hash as part of the version number, especially during + development or continuous integration. Example: 1.0.0-dev-fe456874. ### Official reference diff --git a/CONTRIBUTING.zh_CN.md b/CONTRIBUTING.zh_CN.md index ca407d163..c8e8af671 100644 --- a/CONTRIBUTING.zh_CN.md +++ b/CONTRIBUTING.zh_CN.md @@ -129,10 +129,10 @@ label)用于标识版本的特定预发布状态。这些版本通常仍在测 ### 其他版本控制规范 -尽管语义化版本控制是最广泛接受的标准,但仍存在其他规范和变体: +本项目采用追加Git Short Hash来完善版本控制: -1. **日期版本控制**:使用日期作为版本号的一部分,如 `2024.09.04`。这种方法适用于发布频率高的项目。 -2. **Git Hash**:一些项目会使用 Git 提交哈希作为版本号的一部分,特别是在开发或持续集成期间。 +1. **Git Short Hash**:使用 Git 短提交哈希作为版本号的一部分,特别是在开发或持续集成期间 + 例子:1.0.0-dev-fe456874。 ### 官方参考