mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
Add branch updater script
This commit is contained in:
parent
e247f04633
commit
d7e4b1b60b
|
|
@ -2,10 +2,25 @@
|
||||||
|
|
||||||
#
|
#
|
||||||
# This is because matrix-org doesn't allow anonymous contributors.
|
# This is because matrix-org doesn't allow anonymous contributors.
|
||||||
|
# You can run it as a curlpipe if you're brave.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ "$(pwd)" != "$HOME/go/src/github.com/matrix-org/dendrite" ]; then
|
||||||
|
if [ ! -d "$HOME/go/src/github.com/matrix-org/dendrite" ]; then
|
||||||
|
git clone https://github.com/matrix-org/dendrite
|
||||||
|
cd "$HOME/go/src/github.com/matrix-org/dendrite"
|
||||||
|
git remote add idk https://github.com/eyedeekay/dendrite
|
||||||
|
git pull idk i2p-demo
|
||||||
|
fi
|
||||||
|
cd "$HOME/go/src/github.com/matrix-org/dendrite"
|
||||||
|
git checkout i2p-demo
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Pulling in changes from matrix-org main"
|
echo "Pulling in changes from matrix-org main"
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
echo "Pulling in changes from eyedeekay i2p-demo"
|
echo "Pulling in changes from eyedeekay i2p-demo"
|
||||||
git pull idk i2p-demo
|
git pull idk i2p-demo
|
||||||
|
|
||||||
echo "Generating binary"
|
echo "Generating binary"
|
||||||
go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p
|
go build -o bin/dendrite-demo-i2p ./cmd/dendrite-demo-i2p
|
||||||
Loading…
Reference in a new issue