diff --git a/make-syncthing.bash b/make-syncthing.bash index 06e26b0e..0b5b7235 100755 --- a/make-syncthing.bash +++ b/make-syncthing.bash @@ -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