Skip to content

Commit

Permalink
fix: fix the renaming stuff again, cause i am bad at bash
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored Aug 14, 2024
1 parent ced5171 commit 5ed5d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-new-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ed5d15

Please sign in to comment.