1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 03:11:30 +00:00

Fetch tags before building Syncthing (fixes #872)

This commit is contained in:
Felix Ableitner 2017-06-07 10:35:45 +09:00
parent 97b3bdb9cc
commit 7f6d72d0fa

View file

@ -49,6 +49,10 @@ unset GOOS
_GOARCH=$GOARCH
unset GOARCH
# Make sure all tags are available for git describe
# https://github.com/syncthing/syncthing-android/issues/872
git fetch --tags
go run build.go -goos=${_GOOS} -goarch=${_GOARCH} clean
go run build.go -goos=${_GOOS} -goarch=${_GOARCH} -no-upgrade build