Skip to content

Commit

Permalink
fix: remove debug options from release workflow and await build funct…
Browse files Browse the repository at this point in the history
…ion in build script
  • Loading branch information
truemiller committed Dec 23, 2024
1 parent e9c6642 commit 7f08fe3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLETEAMID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
DEBUG: electron-builder
DEBUG_DMG: true
GH_TOKEN: ${{ secrets.github_token }}
NODE_ENV: ${{ matrix.env }}
ARCH: ${{ env.OS_ARCH }}
Expand Down Expand Up @@ -274,8 +272,6 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLETEAMID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
DEBUG: electron-builder
DEBUG_DMG: true
GH_TOKEN: ${{ secrets.github_token }}
NODE_ENV: ${{ matrix.env }}
ARCH: ${{ env.OS_ARCH }}
Expand Down
3 changes: 1 addition & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const main = async () => {
console.log('Building...');

/** @type import {CliOptions} from "electron-builder" */
return build({
return await build({
publish: 'onTag',
config: {
appId: 'xyz.valory.olas-operate-app',
Expand Down Expand Up @@ -65,7 +65,6 @@ const main = async () => {
main().then((res) => {
console.log(JSON.stringify(res))
console.log('Build & Notarize complete');

}).catch((e) => {
console.error(JSON.stringify(e))
throw new Error('Failed to build and notarize.');
Expand Down

0 comments on commit 7f08fe3

Please sign in to comment.