Fetch the dereferenced commit from the tag

This commit is contained in:
Felipe Knorr Kuhn 2022-01-12 22:36:24 -08:00
parent 359e111ae4
commit d70c610741
No known key found for this signature in database
GPG key ID: 79619B52BB097C1A

View file

@ -2,7 +2,7 @@
#backend
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/
sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts