Skip to content

Commit 181e7ad

Browse files
author
Leon Si
committed
fix: publish always
1 parent 3369065 commit 181e7ad

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,3 @@ jobs:
5353
pnpm compile:electron
5454
env:
5555
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
56-
57-
- uses: marvinpinto/action-automatic-releases@latest
58-
with:
59-
repo_token: ${{ secrets.GITHUB_TOKEN }}
60-
prerelease: false
61-
files: |
62-
packages/app/dist
63-
automatic_release_tag: latest
64-
title: "AdminControl"

packages/app/scripts/compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (process.env.GITHUB_ACTIONS === undefined) {
1818
} else {
1919
console.info('CI detected; building for publish...');
2020
execa.commandSync(
21-
'electron-builder build --config .electron-builder.config.js --config.asar=false --mac',
21+
'electron-builder build --config .electron-builder.config.js --config.asar=false --mac --publish always',
2222
{ stdio: 'inherit', env: { MODE: 'production' } }
2323
);
2424
}

0 commit comments

Comments
 (0)