mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-20 14:39:25 +08:00
fix: 一些小问题
This commit is contained in:
23
.github/workflows/release.yml
vendored
23
.github/workflows/release.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
- name: Check out git repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
@@ -32,7 +32,6 @@ jobs:
|
||||
npx tsc
|
||||
npx vite build
|
||||
|
||||
# --- 生成更新日志步骤 ---
|
||||
- name: Build Changelog
|
||||
id: build_changelog
|
||||
uses: mikepenz/release-changelog-builder-action@v4
|
||||
@@ -41,27 +40,17 @@ jobs:
|
||||
configurationJson: |
|
||||
{
|
||||
"categories": [
|
||||
{
|
||||
"title": "## 🚀 Features",
|
||||
"labels": ["feat", "feature"]
|
||||
},
|
||||
{
|
||||
"title": "## 🐛 Fixes",
|
||||
"labels": ["fix", "bug"]
|
||||
},
|
||||
{
|
||||
"title": "## 🧰 Maintenance",
|
||||
"labels": ["chore", "refactor", "docs", "perf"]
|
||||
}
|
||||
{ "title": "## 🚀 Features", "labels": ["feat", "feature"] },
|
||||
{ "title": "## 🐛 Fixes", "labels": ["fix", "bug"] },
|
||||
{ "title": "## 🧰 Maintenance", "labels": ["chore", "refactor", "docs", "perf"] }
|
||||
],
|
||||
"template": "# Release Notes\n\n{{CHANGELOG}}"
|
||||
}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# --- 打包并发布步骤 ---
|
||||
- name: Package and Publish
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
npx electron-builder --publish always "-c.releaseInfo.releaseNotesFile=release-notes.md" "-c.publish.releaseType=release"
|
||||
|
||||
run: npx electron-builder --publish always "-c.releaseInfo.releaseNotesFile=release-notes.md"
|
||||
Reference in New Issue
Block a user