mirror of
https://github.com/nahuhh/basicswap-bash.git
synced 2025-01-18 08:44:37 +00:00
update: add fix for updates from v0.12.7
This commit is contained in:
parent
e71e4688c0
commit
76e52e8863
1 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
COINCURVE=0.2
|
|
||||||
|
|
||||||
echo "Updating BasicSwapDEX" && sleep 1
|
echo "Updating BasicSwapDEX" && sleep 1
|
||||||
# Delete dangling build folder. Same as --no-cache for docker
|
# Delete dangling build folder. Same as --no-cache for docker
|
||||||
|
@ -9,10 +8,14 @@ rm -rf $SWAP_DATADIR/basicswap/build
|
||||||
# Switch to new repo: basicswap/basicswap
|
# Switch to new repo: basicswap/basicswap
|
||||||
cd $SWAP_DATADIR/basicswap
|
cd $SWAP_DATADIR/basicswap
|
||||||
git remote set-url origin https://github.com/basicswap/basicswap
|
git remote set-url origin https://github.com/basicswap/basicswap
|
||||||
# git checkout master
|
|
||||||
git pull
|
|
||||||
|
|
||||||
# Update BasicSwap
|
# Conflicting messages_pb2.py from v0.12.7
|
||||||
|
if [[ -f basicswap/messages_pb2.py ]]; then
|
||||||
|
git restore basicswap/messages_pb2.py
|
||||||
|
fi
|
||||||
|
|
||||||
|
#git checkout master
|
||||||
|
git pull
|
||||||
$SWAP_DATADIR/venv/bin/pip install -r requirements.txt --require-hashes
|
$SWAP_DATADIR/venv/bin/pip install -r requirements.txt --require-hashes
|
||||||
$SWAP_DATADIR/venv/bin/pip install .
|
$SWAP_DATADIR/venv/bin/pip install .
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue