Bind releases to licensing build signatures
This commit is contained in:
7 files changed
+96
-15
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user