From 6beca645d7fc8971a5be5a2bc53f57b8cd884929 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 16 Jul 2020 23:07:51 +0530 Subject: [PATCH] devrelease script --- contrib/devrelease.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 contrib/devrelease.sh 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"