mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-01 03:36:06 +02: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
|
if [ -f config.yaml ]; then
|
||||||
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)"
|
||||||
|
version="${version//,}"
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user