aboutsummaryrefslogtreecommitdiff
path: root/contrib/devrelease.sh
blob: 72b059a0186b73d8985a5d5be619aca05bf14305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash

set -eu

set -x

devtag=$1

git tag $devtag || true

make compile

if [[ ! -d prebuilt ]]; then
  git worktree add -f prebuilt prebuilt
fi

mkdir -p prebuilt/$devtag

cp packages/taler-wallet-android/dist/taler-wallet-android.js prebuilt/$devtag/
cd prebuilt
git add -A $devtag
git commit -m "prebuilt files for $devtag" || true

echo "please push:"
echo "git push --tags origin master prebuilt"