mirror of
https://github.com/azahar-emu/azahar
synced 2026-04-23 09:23:56 +00:00
14 lines
397 B
Bash
Executable file
14 lines
397 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
# Determine the full revision name.
|
|
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
|
GITREV="`git show -s --format='%h'`"
|
|
|
|
REV_NAME="azahar-libretro-$OS-$TARGET-$GITDATE-$GITREV"
|
|
if [ "$GITHUB_REF_TYPE" = "tag" ]; then
|
|
REV_NAME="azahar-libretro-$OS-$TARGET-$GITHUB_REF_NAME"
|
|
fi
|
|
|
|
# Create .zip
|
|
zip -j -9 $REV_NAME.zip $BUILD_DIR/$EXTRA_PATH/azahar_libretro.*
|