Fetch the dereferenced commit from the tag
This commit is contained in:
parent
359e111ae4
commit
d70c610741
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#backend
|
#backend
|
||||||
gitMaster="\.\.\/\.git\/refs\/heads\/master"
|
gitMaster="\.\.\/\.git\/refs\/heads\/master"
|
||||||
git ls-remote https://github.com/mempool/mempool.git $1 | awk '{ print $1}' > ./backend/master
|
git ls-remote https://github.com/mempool/mempool.git "$1^{}" | awk '{ print $1}' > ./backend/master
|
||||||
cp ./docker/backend/* ./backend/
|
cp ./docker/backend/* ./backend/
|
||||||
sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts
|
sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user