mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
[no ci] remove old file
This commit is contained in:
19
.github/actions/macos-install.sh
vendored
19
.github/actions/macos-install.sh
vendored
@@ -1,19 +0,0 @@
|
|||||||
echo "MacOS Version Info According to Python:"
|
|
||||||
macver=$(python -c "import platform; print(platform.mac_ver()[0])")
|
|
||||||
echo "$macver"
|
|
||||||
echo "Xcode version:"
|
|
||||||
xcodebuild -version
|
|
||||||
export distpath="dist/"
|
|
||||||
export gampath="${distpath}gam"
|
|
||||||
rm -rf $gampath
|
|
||||||
export specfile="gam.spec"
|
|
||||||
$python -OO -m PyInstaller --distpath "${gampath}" "${specfile}"
|
|
||||||
export gam="${gampath}/gam"
|
|
||||||
$gam version extended
|
|
||||||
export GAMVERSION=$($gam version simple)
|
|
||||||
cp LICENSE "${gampath}"
|
|
||||||
cp GamCommands.txt "${gampath}"
|
|
||||||
GAM_ARCHIVE="gam-${GAMVERSION}-${GAMOS}-${PLATFORM}.tar.xz"
|
|
||||||
rm "${gampath}/lastupdatecheck.txt"
|
|
||||||
# tar will cd to dist/ and tar up gam/
|
|
||||||
tar -C dist/ --create --file "$GAM_ARCHIVE" --xz gam
|
|
||||||
Reference in New Issue
Block a user