mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2026-02-04 06:48:09 +00:00
fix: use posix compatible compare
This commit is contained in:
parent
d6c02a4e5d
commit
06f438d439
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ download() {
|
||||||
(
|
(
|
||||||
mkdir -p $RELEASE_DIR
|
mkdir -p $RELEASE_DIR
|
||||||
cd $RELEASE_DIR
|
cd $RELEASE_DIR
|
||||||
if [[ ${DOWNLOAD_LATEST} == "true" ]]; then
|
if [[ ${DOWNLOAD_LATEST} = "true" ]]; then
|
||||||
echo "Downloading the latest release"
|
echo "Downloading the latest release"
|
||||||
api GET repos/$REPO/releases/latest >"$TMP_DIR"/assets.json
|
api GET repos/$REPO/releases/latest >"$TMP_DIR"/assets.json
|
||||||
elif [[ ${DOWNLOAD_LATEST} == "false" ]]; then
|
elif [[ ${DOWNLOAD_LATEST} == "false" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue