Skip to content

Commit

Permalink
Pass --publish never flag into electron-builder
Browse files Browse the repository at this point in the history
  • Loading branch information
ZIMkaRU committed Mar 14, 2024
1 parent dcd4a3b commit 6890b92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ publishOption=""
if [ $isPublished == 1 ]; then
# Available: 'onTag', 'onTagOrDraft', 'always', 'never'
publishOption="--publish always"
else
publishOption="--publish never"
fi

rm -rf "$DIST_FOLDER/"*"$targetPlatform"*
Expand Down

0 comments on commit 6890b92

Please sign in to comment.