mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
set debug release true
This commit is contained in:
parent
f77ab8a74b
commit
049822439f
@ -3,6 +3,7 @@
|
|||||||
set -o errexit
|
set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
set -x
|
||||||
|
|
||||||
PWD="$(dirname $(readlink -f -- $0))"
|
PWD="$(dirname $(readlink -f -- $0))"
|
||||||
|
|
||||||
@ -171,6 +172,7 @@ info "building:"
|
|||||||
info " version: $VERSION"
|
info " version: $VERSION"
|
||||||
info " os: $OS"
|
info " os: $OS"
|
||||||
info " arch: $ARCH"
|
info " arch: $ARCH"
|
||||||
|
info " dist: $DIST"
|
||||||
|
|
||||||
TMP_DIR="$(mktemp -d)"
|
TMP_DIR="$(mktemp -d)"
|
||||||
trap "rm -rf '$TMP_DIR'" exit
|
trap "rm -rf '$TMP_DIR'" exit
|
||||||
@ -181,7 +183,7 @@ jq '.package.version="'"$VERSION"'"' "$PWD/../src-tauri/tauri.conf.json" >"$TMP_
|
|||||||
# build the app
|
# build the app
|
||||||
tauri build --config "$TMP_DIR/tauri.conf.json"
|
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_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="$(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")"
|
MACOS_UPDATER_SIG="$(find "$BUNDLE_DIR/macos" -depth 1 -type f -name "*.tar.gz.sig")"
|
||||||
|
Loading…
Reference in New Issue
Block a user