fix: stabilize 4.0.0 release pipeline

This commit is contained in:
ILoveBingLu
2026-04-07 00:53:56 +08:00
parent f39c458d54
commit b0e8a14120
3 changed files with 4 additions and 3 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
WeFlow export-ignore
WxKey-CC export-ignore

View File

@@ -287,8 +287,6 @@ jobs:
- build-windows
- build-macos
- generate-release-body
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Download release metadata
uses: actions/download-artifact@v4
@@ -398,6 +396,7 @@ jobs:
- name: Create or update GitHub Release
uses: softprops/action-gh-release@v2.5.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ needs.prepare-meta.outputs.tag }}
name: CipherTalk v${{ needs.prepare-meta.outputs.version }}
body_path: release/release-body.md

View File

@@ -14,7 +14,7 @@ const configPath = path.join(__dirname, 'electron-builder.config.cjs')
const result = spawnSync(
process.execPath,
[cliPath, `--${target}`, '--config', configPath],
[cliPath, `--${target}`, '--publish', 'never', '--config', configPath],
{
stdio: 'inherit',
env: {