update how the tag is checked out
This commit is contained in:
parent
4bc11f17a0
commit
448b6ae3c9
1 changed files with 2 additions and 3 deletions
5
build.sh
5
build.sh
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue