mirror of
https://github.com/benbusby/farside.git
synced 2025-04-19 14:55:50 -04:00
Add missing flag for sed replacement in update workflow
This commit is contained in:
parent
3c776d55b0
commit
0749d01206
2
.github/workflows/update-instances.yml
vendored
2
.github/workflows/update-instances.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
done <$file
|
||||
|
||||
# Remove any trailing commas from new instance lists
|
||||
sed -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json
|
||||
sed -i -e ':begin' -e '$!N' -e 's/,\n]/\n]/g' -e 'tbegin' -e 'P' -e 'D' out.json
|
||||
|
||||
cat out.json | jq --indent 2 . > services.json
|
||||
rm -f out.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user