upload releases to GH
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
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ "$1" == "" ]]; then
|
printf "Ver: "
|
||||||
printf "Filename: "
|
read VER
|
||||||
read FN
|
|
||||||
else
|
|
||||||
FN="$1"
|
|
||||||
fi
|
|
||||||
|
|
||||||
scp $FN crystalux@salyut.one:public_html/isos/.
|
gh release create $VER
|
||||||
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 upload $VER *.iso
|
||||||
|
Loading…
Reference in New Issue