summaryrefslogtreecommitdiffhomepage
path: root/desktop/scripts
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2025-04-04 13:48:42 +0200
committerLinus Färnstrand <linus@mullvad.net>2025-04-08 09:36:48 +0200
commit7d8edeabf333bd40adc77188c851d983bbe7a718 (patch)
treec055ed0197d146baf2170ee91abfed4134ad1fdd /desktop/scripts
parent19ebf40809cb1d63c54921faab5ec47c22d3ad88 (diff)
downloadmullvadvpn-7d8edeabf333bd40adc77188c851d983bbe7a718.tar.xz
mullvadvpn-7d8edeabf333bd40adc77188c851d983bbe7a718.zip
Use xclip to read signing key instead of having to manually paste it
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-xdesktop/scripts/release/5-update-and-publish-metadata8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/scripts/release/5-update-and-publish-metadata b/desktop/scripts/release/5-update-and-publish-metadata
index f69fe2df79..5c2b71a6c8 100755
--- a/desktop/scripts/release/5-update-and-publish-metadata
+++ b/desktop/scripts/release/5-update-and-publish-metadata
@@ -1,7 +1,9 @@
#!/usr/bin/env bash
# This script downloads the build artifacts along with the signatures, verifies the signatures and
-# publishes new version metadata to Mullvads API. This should be run after `4-make-release`.
+# publishes new version metadata to Mullvads API.
+# * This should be run after `4-make-release`.
+# * You need to put the private ed25519 signing key in the clipboard before running this script.
set -eu
@@ -49,8 +51,8 @@ function publish_metadata {
mullvad-release add-release "$PRODUCT_VERSION" --rollout 1 "${platforms[@]}"
echo ""
- echo ">>> Signing $PRODUCT_VERSION metadata"
- mullvad-release sign "${platforms[@]}"
+ echo ">>> Signing $PRODUCT_VERSION metadata. Reading signing key from clipboard"
+ xclip -sensitive | mullvad-release sign "${platforms[@]}"
echo ""
echo ">>> Verifying signed metadata"