From d11bb665bd0f6e02c4ae190967ab561444f9ce04 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Wed, 10 Jul 2024 14:00:51 -0400 Subject: [PATCH] fix: walletd manually set initial version to beta --- .changeset/pretty-parents-fly.md | 5 +++++ walletd/daemon/version | 2 +- walletd/scripts/download.ts | 9 +++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .changeset/pretty-parents-fly.md diff --git a/.changeset/pretty-parents-fly.md b/.changeset/pretty-parents-fly.md new file mode 100644 index 0000000..59db1d4 --- /dev/null +++ b/.changeset/pretty-parents-fly.md @@ -0,0 +1,5 @@ +--- +'walletd': minor +--- + +The desktop app is now running with daemon v0.8.0-beta.1. diff --git a/walletd/daemon/version b/walletd/daemon/version index ae39fab..5e864e0 100644 --- a/walletd/daemon/version +++ b/walletd/daemon/version @@ -1 +1 @@ -v0.0.0 +v0.8.0-beta.1 diff --git a/walletd/scripts/download.ts b/walletd/scripts/download.ts index 0104643..9df4054 100644 --- a/walletd/scripts/download.ts +++ b/walletd/scripts/download.ts @@ -35,6 +35,15 @@ if (auto) { } } +const valid = auto || (goos && goarch) + +if (!valid) { + console.error( + 'Script requires either --auto or --goos= --goarch=' + ) + process.exit(1) +} + downloadRelease() async function downloadRelease(): Promise {