From c0a8939039bf94e1ca2c209c09040aac08f40356 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Sat, 8 Apr 2023 10:57:22 +0200 Subject: [PATCH] fix workflow --- .github/workflows/updater.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 45f5447..2d862dc 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -1,6 +1,6 @@ #!/bin/bash -========================================== +#========================================== # FETCHING LATEST RELEASE AND ITS ASSETS #================================================= @@ -43,6 +43,7 @@ echo "PROCEED=false" >> $GITHUB_ENV # Proceed only if the retrieved version is greater than the current one update_upstream=1 update_kepubify=1 + if ! dpkg --compare-versions "$current_version" "lt" "$version" ; then echo "::warning ::No new version available for upstream app" update_upstream=0 @@ -122,6 +123,7 @@ EOT fi done +fi if [ "$update_kepubify"=1 ]; then for asset_url_kepubify in ${assets_kepubify[@]}; do