File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed
Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1515 - name : Get current version based on date
1616 id : version
1717 run : echo "version=$(date +'%Y_%m_%d')" >> $GITHUB_OUTPUT
18- - name : Build release
19- run : ./build_gamekit.sh "${{ steps.version.outputs.version }}"
18+ - name : Build Win32 release
19+ run : ./build_gamekit_windows.sh "${{ steps.version.outputs.version }}"
20+ - name : Prepare a package
21+ run : ./build_games_package.sh
2022 - name : Publish release
2123 uses : softprops/action-gh-release@v2
2224 with :
Original file line number Diff line number Diff line change 44
55export GAMEKIT_VER=" ${1:- latest} "
66
7+ mkdir -p dist
8+
79# Validation
810[ ! -d " ./contents" ] && echo " Run this script from the project root directory" && exit
911
10- mkdir -p build
12+ mkdir -p build/win32
1113
1214REL_CONTENTS_DIR=./contents
13- REL_BUILD_DIR=./build
15+ REL_BUILD_DIR=./build/win32
1416REL_BUILD_BIN_DIR=$REL_BUILD_DIR /bin
1517
1618echo " Retrieving the latest QSP Classic version"
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ set -e
4+
5+ export GAMEKIT_VER=" ${1:- latest} "
6+
7+ mkdir -p dist
8+
9+ # Validation
10+ [ ! -d " ./contents" ] && echo " Run this script from the project root directory" && exit
11+
12+ mkdir -p build/package
13+
14+ REL_CONTENTS_DIR=./contents
15+ REL_BUILD_DIR=./build/package
16+
17+ echo " Copying contents"
18+ cp -r $REL_CONTENTS_DIR /. $REL_BUILD_DIR
19+
20+ echo " Compressing the package $GAMEKIT_VER "
21+ (cd $REL_BUILD_DIR ; zip -7 -r ./games_package-$GAMEKIT_VER .zip ./)
22+
23+ mv $REL_BUILD_DIR /* .zip ./dist/
You can’t perform that action at this time.
0 commit comments