9
0
Fork 0
mirror of https://code.forgejo.org/actions/forgejo-release synced 2026-02-11 09:09:24 +00:00

fix: use posix compatible compare

This commit is contained in:
Michael Kriese 2026-01-22 09:45:05 +01:00
parent d6c02a4e5d
commit 06f438d439
No known key found for this signature in database
GPG key ID: F8D7748549A5986A

View file

@ -210,7 +210,7 @@ download() {
(
mkdir -p $RELEASE_DIR
cd $RELEASE_DIR
if [[ ${DOWNLOAD_LATEST} == "true" ]]; then
if [[ ${DOWNLOAD_LATEST} = "true" ]]; then
echo "Downloading the latest release"
api GET repos/$REPO/releases/latest >"$TMP_DIR"/assets.json
elif [[ ${DOWNLOAD_LATEST} == "false" ]]; then