wallet-core/contrib/devrelease.sh

26 lines
419 B
Bash
Raw Permalink 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
2020-08-11 15:52:48 +02:00
make compile
2020-07-16 19:37:51 +02:00
if [[ ! -d prebuilt ]]; then
2020-08-11 15:52:48 +02:00
git worktree add -f prebuilt prebuilt
2020-07-16 19:37:51 +02:00
fi
mkdir -p prebuilt/$devtag
2021-11-26 16:48:54 +01:00
cp packages/taler-wallet-embedded/dist/taler-wallet-embedded.js prebuilt/$devtag/
2020-07-16 19:37:51 +02:00
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"