wallet-core/contrib/devrelease.sh

26 lines
385 B
Bash
Raw Normal View History

2020-07-16 19:37:51 +02:00
#!/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
2020-07-16 19:41:30 +02:00
git commit -m "prebuilt files for $devtag" || true
echo "please push:"
echo "git push --tags origin master prebuilt"