Skip to content

Commit

Permalink
Use fixed package name w/o any version
Browse files Browse the repository at this point in the history
  • Loading branch information
Varg committed Nov 8, 2024
1 parent 9d122da commit 27f01a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 2 additions & 4 deletions build_games_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

set -e

export GAMEKIT_VER="${1:-latest}"

mkdir -p dist

# Validation
Expand All @@ -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/

0 comments on commit 27f01a2

Please sign in to comment.