From 6f7acc60b59c460b51fbf3b9afd0c20085b478b0 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Mon, 25 Apr 2022 08:01:29 +0800 Subject: [PATCH] no message --- README_PUBLISH.md | 17 +++++++++++++++++ cliff.toml | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 README_PUBLISH.md 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 }}