From 5ed5d1517b68de527e800879ab0111ef3322f2f3 Mon Sep 17 00:00:00 2001 From: Cooper Date: Wed, 14 Aug 2024 16:46:44 -0500 Subject: [PATCH] fix: fix the renaming stuff again, cause i am bad at bash --- .github/workflows/build-new-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-new-release.yaml b/.github/workflows/build-new-release.yaml index f2deff5..e848ab1 100644 --- a/.github/workflows/build-new-release.yaml +++ b/.github/workflows/build-new-release.yaml @@ -208,7 +208,7 @@ jobs: if [ -f "$FILE" ]; then FILENAME=$(basename "$FILE") BASENAME="${FILENAME%.*}" - if [ "$FILE" == *.exe || "$FILE" == *.wgt || "$FILE" == *.zip || "$FILE" == *.tpk ]; then + if [[ "$FILE" == *".exe"* || "$FILE" == *".wgt"* || "$FILE" == *".zip"* || "$FILE" == *".tpk"* ]]; then EXTENSION="${FILENAME##*.}" NEWNAME="$OUTDIR/${BASENAME}-${{ steps.variables.outputs.hash }}.$EXTENSION" else