set debug release true

This commit is contained in:
Nikita Galaiko 2023-02-20 16:19:23 +01:00
parent f77ab8a74b
commit 049822439f
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -3,6 +3,7 @@
set -o errexit
set -o nounset
set -o pipefail
set -x
PWD="$(dirname $(readlink -f -- $0))"
@ -171,6 +172,7 @@ info "building:"
info " version: $VERSION"
info " os: $OS"
info " arch: $ARCH"
info " dist: $DIST"
TMP_DIR="$(mktemp -d)"
trap "rm -rf '$TMP_DIR'" exit
@ -181,7 +183,7 @@ jq '.package.version="'"$VERSION"'"' "$PWD/../src-tauri/tauri.conf.json" >"$TMP_
# build the app
tauri build --config "$TMP_DIR/tauri.conf.json"
BUNDLE_DIR="src-tauri/target/release/bundle"
BUNDLE_DIR="$PWD/../src-tauri/target/release/bundle"
MACOS_DMG="$(find "$BUNDLE_DIR/dmg" -depth 1 -type f -name "*.dmg")"
MACOS_UPDATER="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz")"
MACOS_UPDATER_SIG="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz.sig")"