From ace52b4f6b0fe6deec2a48866f7d4407f35570ad Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 14 May 2021 13:04:40 -0400 Subject: [PATCH] upload releases to GH --- crystal/airootfs/etc/buildstamp | 2 +- upload_iso.sh | 12 ++++-------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/crystal/airootfs/etc/buildstamp b/crystal/airootfs/etc/buildstamp index b427755..e36f421 100644 --- a/crystal/airootfs/etc/buildstamp +++ b/crystal/airootfs/etc/buildstamp @@ -1 +1 @@ -Built on 05/13/21 @ 18:29:22 EST +Built on 05/14/21 @ 10:33:05 EST diff --git a/upload_iso.sh b/upload_iso.sh index c51a496..bf33205 100755 --- a/upload_iso.sh +++ b/upload_iso.sh @@ -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