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