Skip to content

Commit 2171ef6

Browse files
committed
build: print autoupdate.json compact without newlines
Autoupdater in 1.2.3 reads the falter-version field in a way that doesn't allow for newlines. The whole JSON structure must be on one line.
1 parent cb98aac commit 2171ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/generate-autoupdate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ set -o pipefail
4040
# .target[][].notunnel
4141
cat "$outdir/$fversion"/notunnel/*/*/profiles.json | jq -r '.target as $t | .profiles | keys[] as $p | .[$p].images[] | select(.type == "sysupgrade") | {target: {($t): {($p): {notunnel: .sha256}}}}'
4242

43-
) | jq -s 'reduce .[] as $o ({}; . * $o)'
43+
) | jq -c -s 'reduce .[] as $o ({}; . * $o)'

0 commit comments

Comments
 (0)