mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-02 04:55:28 -06: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.*
|