mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-19 11:08:11 +01:00
Remove trailing ,
This commit is contained in:
3
.github/workflows/onpush_builder.yaml
vendored
3
.github/workflows/onpush_builder.yaml
vendored
@@ -91,7 +91,8 @@ jobs:
|
||||
if [ -f config.yaml ]; then
|
||||
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)"
|
||||
version="$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)"/\1/' config.json)"
|
||||
version="${version//,}"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user