upload releases to GH

main
Matt C 4 years ago
parent f560a27929
commit ace52b4f6b

@ -1 +1 @@
Built on 05/13/21 @ 18:29:22 EST
Built on 05/14/21 @ 10:33:05 EST

@ -1,11 +1,7 @@
#!/bin/bash
if [[ "$1" == "" ]]; then
printf "Filename: "
read FN
else
FN="$1"
fi
printf "Ver: "
read VER
scp $FN crystalux@salyut.one:public_html/isos/.
ssh crystalux@salyut.one "rm public_html/isos/crystal-latest.iso && ln -s public_html/isos/$FN public_html/isos/crystal-latest.iso"
gh release create $VER
gh release upload $VER *.iso

Loading…
Cancel
Save