aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-06-10 17:02:51 +0200
committerFlorian Dold <florian@dold.me>2024-06-10 17:02:51 +0200
commit10bc0e6ae1e19e98a8c45e75f0517666eee62e3a (patch)
treeb671ff797a58c69f83935b4bfe270386244ee0db /contrib
parentb1d84df5b1d98b140ed3dd2b51e566f6964130ad (diff)
lockfile for merchant SPA from prebuilt
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/check-prebuilt15
-rw-r--r--contrib/merchant-spa.lock1
m---------contrib/wallet-core0
3 files changed, 16 insertions, 0 deletions
diff --git a/contrib/check-prebuilt b/contrib/check-prebuilt
new file mode 100755
index 00000000..ed8ec0e8
--- /dev/null
+++ b/contrib/check-prebuilt
@@ -0,0 +1,15 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+
+contrib = os.path.abspath(os.path.dirname(__file__))
+
+merchant_spa_ver_lock = open(contrib + "/" + "merchant-spa.lock").read().strip()
+merchant_spa_ver_prebuilt = open(contrib + "/" + "wallet-core/backoffice/version.txt").read().strip()
+
+if merchant_spa_ver_lock != merchant_spa_ver_prebuilt:
+ print("merchant SPA version mismatch")
+ print("lockfile has version", merchant_spa_ver_lock)
+ print("prebuilt has version", merchant_spa_ver_prebuilt)
+ sys.exit(1)
diff --git a/contrib/merchant-spa.lock b/contrib/merchant-spa.lock
new file mode 100644
index 00000000..1a96df19
--- /dev/null
+++ b/contrib/merchant-spa.lock
@@ -0,0 +1 @@
+0.11.3
diff --git a/contrib/wallet-core b/contrib/wallet-core
-Subproject f9b0af55874c1d49e3c04fd8a64ed10a7236a55
+Subproject ce923bfba1bbbca7e52e1ef0b166a47376f9136