mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
Closes #4883 Refs #7005 Adds support for Ubuntu 24.04, drops support for Ubuntu 20.04 Known issues: - On Ubuntu 22.04, sometimes GNOME shows the wrong tray icon - On Ubuntu 24.04, the first time you open the tray menu, GNOME takes a long time to open the menu. --------- Signed-off-by: Reactor Scram <ReactorScram@users.noreply.github.com>
20 lines
521 B
Bash
Executable File
20 lines
521 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euox pipefail
|
|
|
|
# This artifact name is tied to the update checker in `gui-client/src-tauri/src/client/updates.rs`
|
|
|
|
# Only clobber existing release assets if the release is a draft
|
|
is_draft=$(gh release view "$TAG_NAME" --json isDraft --jq '.isDraft' | tr -d '\n')
|
|
if [[ "$is_draft" == "true" ]]; then
|
|
clobber="--clobber"
|
|
else
|
|
clobber=""
|
|
fi
|
|
|
|
gh release upload "$TAG_NAME" \
|
|
"$BINARY_DEST_PATH".deb \
|
|
"$BINARY_DEST_PATH".deb.sha256sum.txt \
|
|
$clobber \
|
|
--repo "$REPOSITORY"
|