aboutsummaryrefslogtreecommitdiff
path: root/contrib/devrelease.sh
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-16 23:07:51 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-16 23:07:51 +0530
commit6beca645d7fc8971a5be5a2bc53f57b8cd884929 (patch)
tree12d20751c29b5ea4278471603833a31a364f4a51 /contrib/devrelease.sh
parent85a095fa7d4d31e1e84e5e096fa28c59f3cd1918 (diff)
devrelease script
Diffstat (limited to 'contrib/devrelease.sh')
-rwxr-xr-xcontrib/devrelease.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/devrelease.sh b/contrib/devrelease.sh
new file mode 100755
index 000000000..4203349f8
--- /dev/null
+++ b/contrib/devrelease.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+
+set -eu
+
+set -x
+
+devtag=$1
+
+git tag $devtag || true
+
+make rollup
+
+if [[ ! -d prebuilt ]]; then
+ git worktree add prebuilt
+fi
+
+mkdir -p prebuilt/$devtag
+
+cp dist/standalone/taler-wallet-android.js prebuilt/$devtag/
+cd prebuilt
+git add -A $devtag
+git commit -m "prebuilt files for $devtag"