🐛 (autoupdate) Exit code 0 also when no updates are available
Otherwise the pipeline fails
This commit is contained in:
parent
17e8e34268
commit
ee45befda4
1 changed files with 3 additions and 0 deletions
|
@ -5,7 +5,10 @@ set -euo pipefail
|
|||
dir="$(find . -maxdepth 1 -type d -name "intellij-idea-*")"
|
||||
pushd "$dir" || exit 1
|
||||
|
||||
set +e
|
||||
check="$(uscan --dehs --no-download)"
|
||||
set -e
|
||||
|
||||
status="$(echo "$check" | xmllint --xpath 'string(/dehs/status)' -)"
|
||||
|
||||
if [[ "$status" != "newer package available" ]]; then
|
||||
|
|
Loading…
Reference in a new issue