From 27f01a2df0cb87a830203b63113839d41831ce5b Mon Sep 17 00:00:00 2001 From: Varg Date: Fri, 8 Nov 2024 23:27:56 +0100 Subject: [PATCH] Use fixed package name w/o any version --- .github/workflows/release_latest.yml | 4 ++-- build_games_package.sh | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release_latest.yml b/.github/workflows/release_latest.yml index 038f625..feb8569 100644 --- a/.github/workflows/release_latest.yml +++ b/.github/workflows/release_latest.yml @@ -17,8 +17,8 @@ jobs: run: echo "version=$(date +'%Y_%m_%d')" >> $GITHUB_OUTPUT - name: Build Win32 release run: ./build_gamekit_windows.sh "${{ steps.version.outputs.version }}" - - name: Prepare a package for qSpider - run: ./build_games_package.sh qspider + - name: Prepare a package + run: ./build_games_package.sh - name: Publish release uses: softprops/action-gh-release@v2 with: diff --git a/build_games_package.sh b/build_games_package.sh index 9e00c2b..4080496 100755 --- a/build_games_package.sh +++ b/build_games_package.sh @@ -2,8 +2,6 @@ set -e -export GAMEKIT_VER="${1:-latest}" - mkdir -p dist # Validation @@ -17,7 +15,7 @@ REL_BUILD_DIR=./build/package echo "Copying contents" cp -r $REL_CONTENTS_DIR/. $REL_BUILD_DIR -echo "Compressing the package $GAMEKIT_VER" -(cd $REL_BUILD_DIR; zip -7 -r ./games_package-$GAMEKIT_VER.zip ./) +echo "Compressing the package" +(cd $REL_BUILD_DIR; zip -7 -r ./games_package.zip ./) mv $REL_BUILD_DIR/*.zip ./dist/