Skip to content

Commit a805c43

Browse files
committed
fix publish config
1 parent 2248f0d commit a805c43

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/release.desktop.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,13 @@ jobs:
3131
name: Prebuild
3232
run: npm run electron:prebuild
3333
-
34-
name: Build and publish
34+
name: Build
35+
run: npm run electron:build -- --publish never
36+
shell: bash
37+
-
38+
name: Publish to GitHub Release
3539
run: npm run electron:build -- --publish always
36-
shell: bash # Required for correct argument passing (--)
40+
shell: bash
3741
env:
3842
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39-
EP_GH_IGNORE_TIME: true # Otherwise publishing fails if GitHub release is more than 2 hours old https://github.com/electron-userland/electron-builder/issues/2074
43+
EP_GH_IGNORE_TIME: true

electron-builder.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ module.exports = {
1212
// Common options
1313
publish: {
1414
provider: 'github',
15+
owner: 'BlueCtx',
16+
repo: 'anonseclab-privacy',
1517
vPrefixedTagName: false, // default: true
1618
releaseType: 'release', // default: draft
1719
},

0 commit comments

Comments
 (0)