mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
fix: 一些小问题
This commit is contained in:
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
@@ -32,7 +32,6 @@ jobs:
|
|||||||
npx tsc
|
npx tsc
|
||||||
npx vite build
|
npx vite build
|
||||||
|
|
||||||
# --- 生成更新日志步骤 ---
|
|
||||||
- name: Build Changelog
|
- name: Build Changelog
|
||||||
id: build_changelog
|
id: build_changelog
|
||||||
uses: mikepenz/release-changelog-builder-action@v4
|
uses: mikepenz/release-changelog-builder-action@v4
|
||||||
@@ -41,27 +40,17 @@ jobs:
|
|||||||
configurationJson: |
|
configurationJson: |
|
||||||
{
|
{
|
||||||
"categories": [
|
"categories": [
|
||||||
{
|
{ "title": "## 🚀 Features", "labels": ["feat", "feature"] },
|
||||||
"title": "## 🚀 Features",
|
{ "title": "## 🐛 Fixes", "labels": ["fix", "bug"] },
|
||||||
"labels": ["feat", "feature"]
|
{ "title": "## 🧰 Maintenance", "labels": ["chore", "refactor", "docs", "perf"] }
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## 🐛 Fixes",
|
|
||||||
"labels": ["fix", "bug"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "## 🧰 Maintenance",
|
|
||||||
"labels": ["chore", "refactor", "docs", "perf"]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"template": "# Release Notes\n\n{{CHANGELOG}}"
|
"template": "# Release Notes\n\n{{CHANGELOG}}"
|
||||||
}
|
}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# --- 打包并发布步骤 ---
|
|
||||||
- name: Package and Publish
|
- name: Package and Publish
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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"
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"description": "WeFlow - 微信聊天记录查看工具",
|
"description": "WeFlow - 微信聊天记录查看工具",
|
||||||
"main": "dist-electron/main.js",
|
"main": "dist-electron/main.js",
|
||||||
|
"author": "cc",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build && electron-builder",
|
"build": "tsc && vite build && electron-builder",
|
||||||
@@ -46,6 +47,10 @@
|
|||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "com.WeFlow.app",
|
"appId": "com.WeFlow.app",
|
||||||
|
"publish": {
|
||||||
|
"provider": "github",
|
||||||
|
"releaseType": "release"
|
||||||
|
},
|
||||||
"productName": "WeFlow",
|
"productName": "WeFlow",
|
||||||
"artifactName": "${productName}-${version}-Setup.${ext}",
|
"artifactName": "${productName}-${version}-Setup.${ext}",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|||||||
Reference in New Issue
Block a user