Skip to content

Commit

Permalink
chore(cd): remove bundle dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Apr 12, 2023
1 parent b3fad37 commit d4a5fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -eu -o pipefail
#

conf_json="src-tauri/tauri.conf.json"
bundle_dir="src-tauri/target/release/bundle"
# bundle_dir="src-tauri/target/release/bundle"
build_dir="./build"

# extract package attributes
Expand All @@ -18,7 +18,7 @@ pkgver="$(jq -r '.package.version' < "$conf_json")"
pkgdesc="$(jq -r '.tauri.bundle.longDescription' < "$conf_json")"

# copy deb file locally
deb_path="$(find $bundle_dir -name '*.deb' | head -n 1)"
deb_path="$(find -name '*.deb' | head -n 1)"
deb_basename="$(basename "$deb_path")"
mkdir -p "$build_dir"
cp -f "$deb_path" "$build_dir/$deb_basename"
Expand Down

0 comments on commit d4a5fa0

Please sign in to comment.