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
This commit is contained in:
@@ -13,7 +13,7 @@ fi
|
||||
|
||||
mkdir -p $DIR
|
||||
|
||||
BASE=https://geodns.bitnames.com/${BASE}/builds/${BUILD}
|
||||
BASE=https://builds.ntppool.dev/${BASE}/builds/${BUILD}
|
||||
|
||||
files=`curl -sSf ${BASE}/checksums.txt | sed 's/^[a-f0-9]*[[:space:]]*//'`
|
||||
metafiles="checksums.txt metadata.json CHANGELOG.md artifacts.json"
|
||||
|
||||
@@ -11,5 +11,5 @@ fi
|
||||
|
||||
for f in dist/*.rpm dist/*.deb; do
|
||||
echo Uploading $f
|
||||
curl -sf -F package=@$f https://${FURY_TOKEN}@push.fury.io/${account}/
|
||||
curl -Ssf -F package=@$f https://${FURY_TOKEN}@push.fury.io/${account}/
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user