From 160691483f33a3ce910336aeca23cd5db4055c73 Mon Sep 17 00:00:00 2001 From: ballaswag Date: Tue, 19 Dec 2023 02:04:12 -0800 Subject: [PATCH] release. --- .github/workflows/build.yml | 4 ++-- release.sh | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e5c32c5..3b2532c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,5 +58,5 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: guppyscreen-${{ env.GUPPY_ARCHIVE_NAME }} - path: ./${{ env.GUPPY_ARCHIVE_NAME }} + name: ${{ env.GUPPY_ARCHIVE_NAME }} + path: ./${{ env.GUPPY_ARCHIVE_NAME }}.tar.gz diff --git a/release.sh b/release.sh index 2636586..6a8028d 100755 --- a/release.sh +++ b/release.sh @@ -14,18 +14,18 @@ cp reinstall-creality.sh $RELEASES_DIR if [ x"$CROSS_COMPILE" == x"mips-linux-gnu-" ]; then ## k1 if [ $ZBOLT -eq 1 ]; then - tar cf guppyscreen-zbolt.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt.tar" + tar czf guppyscreen-zbolt.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt" else - tar cf guppyscreen.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen.tar" + tar czf guppyscreen.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen" fi else if [ $ZBOLT -eq 1 ]; then - tar cf guppyscreen-zbolt-arm.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt-arm.tar" + tar czf guppyscreen-zbolt-arm.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-zbolt-arm" else - tar cf guppyscreen-arm.tar -C releases . - echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-arm.tar" + tar czf guppyscreen-arm.tar.gz -C releases . + echo -n "GUPPY_ARCHIVE_NAME=guppyscreen-arm" fi fi