aboutsummaryrefslogtreecommitdiff
path: root/contrib/check-prebuilt
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-08-23 10:15:34 +0200
committerFlorian Dold <florian@dold.me>2024-08-23 10:15:34 +0200
commitcc5c8a53c873473f4d5bc5d96d14806aaa6149ff (patch)
tree007fb0831ed1a5e794a9bd5004fc900c4e874c60 /contrib/check-prebuilt
parentb4c18ef77c4b2806ed1aa1cbebebc8ceb3f9f657 (diff)
integrate auditor SPAv0.12.1-dev.10
Diffstat (limited to 'contrib/check-prebuilt')
-rwxr-xr-xcontrib/check-prebuilt13
1 files changed, 11 insertions, 2 deletions
diff --git a/contrib/check-prebuilt b/contrib/check-prebuilt
index 05ec4f15b..a85dcd264 100755
--- a/contrib/check-prebuilt
+++ b/contrib/check-prebuilt
@@ -6,6 +6,9 @@ import sys
failed = False
contrib = os.path.abspath(os.path.dirname(__file__))
+auditor_spa_ver_lock = open(contrib + "/" + "auditor-spa.lock").read().strip()
+auditor_spa_ver_prebuilt = open(contrib + "/" + "wallet-core/auditor-backoffice/version.txt").read().strip()
+
aml_spa_ver_lock = open(contrib + "/" + "aml-spa.lock").read().strip()
aml_spa_ver_prebuilt = open(contrib + "/" + "wallet-core/aml-backoffice/version.txt").read().strip()
@@ -13,16 +16,22 @@ kyc_spa_ver_lock = open(contrib + "/" + "kyc-spa.lock").read().strip()
kyc_spa_ver_prebuilt = open(contrib + "/" + "wallet-core/kyc/version.txt").read().strip()
if aml_spa_ver_lock != aml_spa_ver_prebuilt:
- print("AML SPA version mismatch")
+ print("AML SPA version mismatch (contrib/aml-spa.lock)")
print("lockfile has version", aml_spa_ver_lock)
print("prebuilt has version", aml_spa_ver_prebuilt)
failed = True
if kyc_spa_ver_lock != kyc_spa_ver_prebuilt:
- print("KYC SPA version mismatch")
+ print("KYC SPA version mismatch (contrib/kyc-spa.lock)")
print("lockfile has version", kyc_spa_ver_lock)
print("prebuilt has version", kyc_spa_ver_prebuilt)
failed = True
+if auditor_spa_ver_lock != auditor_spa_ver_prebuilt:
+ print("auditor SPA version mismatch (contrib/auditor-spa.lock)")
+ print("lockfile has version", auditor_spa_ver_lock)
+ print("prebuilt has version", auditor_spa_ver_prebuilt)
+ failed = True
+
if failed:
sys.exit(1)