Common release scripts

This commit is contained in:
2023-07-08 17:39:36 -07:00
parent 5c067e3752
commit facd2f4f57
4 changed files with 72 additions and 0 deletions

15
scripts/fury-publish Executable file
View File

@@ -0,0 +1,15 @@
#!/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 -sf -F package=@$f https://${FURY_TOKEN}@push.fury.io/${account}/
done