mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-08 16:45:56 +02: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)
|
version=$(sed -e '/version/!d' -e 's/.*version: //' config.yaml)
|
||||||
elif [ -f config.json ]; then
|
elif [ -f config.json ]; then
|
||||||
version=$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)",/\1/' config.json)
|
version=$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)",/\1/' config.json)
|
||||||
else
|
else; exit 1
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
# Exit if test
|
# Exit if test
|
||||||
if [[ "$version" == *"test"* ]]; then exit 0; fi
|
if [[ "$version" == *"test"* ]]; then exit 0; fi
|
||||||
|
|||||||
Reference in New Issue
Block a user