mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update onpush_builder.yaml
This commit is contained in:
3
.github/workflows/onpush_builder.yaml
vendored
3
.github/workflows/onpush_builder.yaml
vendored
@@ -92,8 +92,7 @@ jobs:
|
||||
version=$(sed -e '/version/!d' -e 's/.*version: //' config.yaml)
|
||||
elif [ -f config.json ]; then
|
||||
version=$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)",/\1/' config.json)
|
||||
else
|
||||
exit 1
|
||||
else; exit 1
|
||||
fi
|
||||
# Exit if test
|
||||
if [[ "$version" == *"test"* ]]; then exit 0; fi
|
||||
|
||||
Reference in New Issue
Block a user