diff --git a/README_PUBLISH.md b/README_PUBLISH.md new file mode 100644 index 000000000..35c4e4632 --- /dev/null +++ b/README_PUBLISH.md @@ -0,0 +1,17 @@ +# 发布说明 + +## 通过 GitHub Actions 发布 + +1. 执行 `./cmd prod` 编译 +2. 执行 `node ./version.js` 制作版本 +3. 执行 `git commit` 相关操作 +4. 制作标签 +5. 推送标签 + +## 本地发布 + +1. 执行 `./cmd prod` 编译 +2. 执行 `node ./version.js` 制作版本 +3. 执行 `git commit` 相关操作 +4. 制作标签 +5. 执行 `./cmd electron` 相关操作 diff --git a/cliff.toml b/cliff.toml index ebebcd732..9c74b866a 100644 --- a/cliff.toml +++ b/cliff.toml @@ -10,9 +10,9 @@ All notable changes to this project will be documented in this file.\n # https://tera.netlify.app/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## [{{ version | trim_start_matches(pat="v") }}] {% else %}\ - ## [unreleased] + ## [Unreleased] {% endif %}\ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }}