Bind releases to licensing build signatures

This commit is contained in:
faumaray committed 2026-08-02 01:50:40 +03:00
1 parent 9e6e6ca97b
commit 5d06619d66
7 files changed
+96 -15

No files matched your search

+2 -1
View File
@@ -15,7 +15,7 @@ install -m 0755 /bin/true "$stage/bin/echoiond"
install -m 0755 /bin/true "$stage/bin/echoion-updater"
install -m 0644 /bin/true "$stage/lib/Echoion.ts"
printf '%s\n' \
'{"schemaVersion":2,"version":"1.2.3","buildType":"RelWithDebInfo"}' \
'{"schemaVersion":2,"version":"1.2.3","buildType":"RelWithDebInfo","buildSignature":"test:1.2.3"}' \
>"$stage/manifest.json"
cat >"$stage/install.sh" <<'INSTALL'
#!/bin/sh
@@ -76,6 +76,7 @@ manifest = Path(sys.argv[3])
release = payload["releases"][0]
assert payload["schemaVersion"] == 1
assert payload["releases"][0]["buildType"] == "RelWithDebInfo"
assert payload["releases"][0]["buildSignature"] == "test:1.2.3"
assert payload["feedId"] == "echoion-test"
assert payload["sequence"] == 42
assert release["component"] == "runtime"