fix map script
ci/woodpecker/push/compliance-and-tests Pipeline is pending Details
ci/woodpecker/push/release-version Pipeline is pending Details
ci/woodpecker/tag/compliance-and-tests Pipeline was successful Details
ci/woodpecker/tag/release-version Pipeline failed Details

ci-optimization
gapodo 2022-12-06 02:42:24 +01:00
parent d6ca4cf0ef
commit 521dd9b38c
1 changed files with 6 additions and 3 deletions

View File

@ -18,10 +18,13 @@ fi
OUTFILENAME=""
if [[ "$RENAME" == "false" ]]; then
OUTFILENAME="${FILEBASENAME}"
elif [["$RENAME" == "true" ]]; then
OUTFILENAME=gitea
else
OUTFILENAME="${RENAME}"
# not using elif as busybox can't handle it...
if [["$RENAME" == "true" ]]; then
OUTFILENAME=gitea
else
OUTFILENAME="${RENAME}"
fi
fi
FILE_WIHTOUT_PLATFORM="${FILEBASENAME}-${FILEVERSION}"