Files
common/scripts/fury-publish
Ask Bjørn Hansen 37414e0a4f build(scripts): update release download host and show curl errors
- download-release: switch base URL from geodns.bitnames.com to builds.ntppool.dev
- fury-publish: use curl -Ssf so errors surface even in silent mode
2026-04-13 21:14:54 -07:00

16 lines
264 B
Bash
Executable File

#!/bin/bash
account=$1
set -euo pipefail
if [ -z "$account" ]; then
echo specify account as the first parameter
exit 2
fi
for f in dist/*.rpm dist/*.deb; do
echo Uploading $f
curl -Ssf -F package=@$f https://${FURY_TOKEN}@push.fury.io/${account}/
done