- 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
16 lines
264 B
Bash
Executable File
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
|