Merge pull request #864 from orbea/release

retroarch-release.sh: Fix script.
This commit is contained in:
Twinaphex 2018-08-31 23:37:32 +02:00 committed by GitHub
commit abb59b79b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,10 +10,9 @@ TMP=${TMP:-/tmp/libretro}
set -eu set -eu
# Ensure a clean and fully updated repo # Ensure a clean and fully updated repo
if [ -d $SRCNAM ]; then [ -d $SRCNAM ] && rm -rf -- $SRCNAM
rm -rf -- $SRCNAM
./libretro-fetch.sh $SRCNAM ./libretro-fetch.sh $SRCNAM
fi
COMMIT="$(git --work-tree=$SRCNAM --git-dir=$SRCNAM/.git describe --abbrev=0 \ COMMIT="$(git --work-tree=$SRCNAM --git-dir=$SRCNAM/.git describe --abbrev=0 \
--tags)" --tags)"