Skip to content

Commit 2cead83

Browse files
committed
构建测试
1 parent 95b1aa3 commit 2cead83

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ jobs:
3434
export ELECTRON_BUILDER_EXTRA_ARGS="--universal"
3535
pnpm run build
3636
env:
37-
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
CSC_IDENTITY_AUTO_DISCOVERY: false
3939
DEBUG: electron-builder
4040

4141
# Windows Build
4242
- name: Build Windows
4343
if: matrix.os == 'windows-latest'
4444
run: pnpm run build
45-
# env:
46-
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
env:
46+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4747

4848
# Linux Build
4949
- name: Build Linux
@@ -52,8 +52,8 @@ jobs:
5252
sudo apt-get update
5353
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
5454
pnpm run build
55-
# env:
56-
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
55+
env:
56+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757

5858
# Get version from tag
5959
- name: Get version from tag

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
此项目的所有显著更改都将记录在此文件中。
33

4-
## [v1.0.0] - 2025-08-07
4+
## [v1.0.0] - 2025-08-08
55
### Added
66
- 发布第一个正式版本
77
- 支持使用大语言模型生成文案(推荐免费的GLM-4.5-Flash)
@@ -11,7 +11,7 @@
1111
- 支持自动化批量任务
1212
- 美观的UI界面
1313

14-
## [v0.7.11] - 2025-08-07
14+
## [v0.7.12] - 2025-08-08
1515
### Added
1616
- 构建测试
1717
- 跨平台: macOS dmg, Windows exe, Linux AppImage.

electron-builder.json5

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
arch: ['universal'],
1818
},
1919
],
20-
artifactName: '${name}-mac-${version}-installer.${ext}',
20+
artifactName: '${name}-${version}-mac-${arch}-installer.${ext}',
2121
icon: './public/icon.png',
2222
},
2323
win: {
@@ -26,7 +26,7 @@
2626
target: 'nsis',
2727
},
2828
],
29-
artifactName: '${name}-win-${arch}-${version}-setup.${ext}',
29+
artifactName: '${name}-${version}-win-${arch}-setup.${ext}',
3030
icon: './public/icon.png',
3131
},
3232
nsis: {
@@ -38,7 +38,8 @@
3838
},
3939
linux: {
4040
target: ['AppImage'],
41-
artifactName: '${name}-linux-${arch}-${version}.${ext}',
41+
artifactName: '${name}-${version}-linux-${arch}.${ext}',
4242
icon: './public/icon.png',
4343
},
44+
publish: null, // disable auto publish 防止重复发版
4445
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "short-video-factory",
33
"description": "短视频工厂,一键生成产品营销与泛内容短视频,AI批量自动剪辑",
4-
"version": "0.7.11",
4+
"version": "0.7.12",
55
"author": {
66
"name": "YILS",
77
"developer": "YILS",
88
"email": "[email protected]",
99
"url": "https://yils.blog/"
1010
},
11-
"repository": "https://github.com/YILS-LIN/short-video-factory",
11+
"homepage": "https://github.com/YILS-LIN/short-video-factory",
1212
"main": "dist-electron/main.js",
1313
"scripts": {
1414
"dev": "cross-env VITE_CJS_IGNORE_WARNING=true vite",

0 commit comments

Comments
 (0)