From fc540e3e6819990e1f77eb591f0ecd2e4051dada Mon Sep 17 00:00:00 2001 From: Fabian Wilkens Date: Fri, 28 Apr 2023 19:45:39 +0200 Subject: [PATCH] Update updater.sh --- .github/workflows/updater.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 2a79505..2b044b7 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -60,8 +60,8 @@ echo "Handling asset at $assets" tempdir="$(mktemp -d)" # Download sources and calculate checksum -filename=${asset_url##*/} -curl --silent -4 -L $asset_url -o "$tempdir/$filename" +filename=${assets##*/} +curl --silent -4 -L $assets -o "$tempdir/$filename" checksum=$(sha256sum "$tempdir/$filename" | head -c 64) # Delete temporary directory @@ -75,8 +75,8 @@ else fi # Rewrite source file -cat < conf/$src.src -SOURCE_URL=$asset_url +cat < conf/app.src +SOURCE_URL=$assets SOURCE_SUM=$checksum SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=$extension