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:
parent
97b3bdb9cc
commit
7f6d72d0fa
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue