devrelease script

This commit is contained in:
Florian Dold 2020-07-16 23:07:51 +05:30
parent 85a095fa7d
commit 6beca645d7
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

22
contrib/devrelease.sh Executable file
View File

@ -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"