jenkins: Don't fetch --prune unnecessarily, print build version on Windows

This commit is contained in:
Jakob Borg 2016-09-13 22:18:55 +02:00
parent 81d19a00aa
commit 526cab538a
2 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,7 @@ cd src\github.com\syncthing\syncthing
echo Initializing ^& cleaning
go version
git clean -fxd || goto error
go run build.go version
echo.
echo Fetching extras

View File

@ -32,7 +32,6 @@ function clean {
echo Cleaning
rm -rf "$GOPATH/pkg"
git clean -fxd
git fetch --prune
echo
}