mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
fix workflow
This commit is contained in:
parent
f3efb92e16
commit
c0a8939039
1 changed files with 3 additions and 1 deletions
4
.github/workflows/updater.sh
vendored
4
.github/workflows/updater.sh
vendored
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
==========================================
|
#==========================================
|
||||||
# FETCHING LATEST RELEASE AND ITS ASSETS
|
# 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
|
# Proceed only if the retrieved version is greater than the current one
|
||||||
update_upstream=1
|
update_upstream=1
|
||||||
update_kepubify=1
|
update_kepubify=1
|
||||||
|
|
||||||
if ! dpkg --compare-versions "$current_version" "lt" "$version" ; then
|
if ! dpkg --compare-versions "$current_version" "lt" "$version" ; then
|
||||||
echo "::warning ::No new version available for upstream app"
|
echo "::warning ::No new version available for upstream app"
|
||||||
update_upstream=0
|
update_upstream=0
|
||||||
|
@ -122,6 +123,7 @@ EOT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$update_kepubify"=1 ]; then
|
if [ "$update_kepubify"=1 ]; then
|
||||||
for asset_url_kepubify in ${assets_kepubify[@]}; do
|
for asset_url_kepubify in ${assets_kepubify[@]}; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue