update how the tag is checked out

This commit is contained in:
finn 2022-01-24 18:55:46 -08:00
parent 4bc11f17a0
commit 448b6ae3c9

View file

@ -1,11 +1,10 @@
#!/bin/bash #!/bin/bash
set -exuo pipefail set -exuo pipefail
git clone https://github.com/Turasa/libsignal-service-java.git git clone -b "${version}" https://github.com/Turasa/libsignal-service-java.git
git checkout "${version}"
cd libsignal-service-java cd libsignal-service-java
git config user.email nobody@signald.org git config user.email nobody@signald.org
git config user.name signald git config user.name signald
git am ../libsignal-service-java.patch git am ../libsignal-service-java.patch
python3 ../update-verification-metadata.py python3 ../update-verification-metadata.py
git diff --color=always git diff --color=always
gradle assemble publish || (gradle --write-verification-metadata sha256 && git diff --color=always && exit 1) gradle assemble publish || (gradle --write-verification-metadata sha256 && git diff --color=always && exit 1)