diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index eec75e433..640110628 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -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