mirror of
https://github.com/pgsty/minio.git
synced 2026-07-29 17:06:20 +03:00
build: Versioning now populated through ldflags
This commit is contained in:
@@ -26,6 +26,9 @@ build_script:
|
||||
- go test -race .
|
||||
- go test github.com/minio/minio/pkg...
|
||||
- go test -race github.com/minio/minio/pkg...
|
||||
- go run buildscripts/gen-ldflags.go > temp.txt
|
||||
- set /p LDFLAGS=<temp.txt
|
||||
- go build -ldflags=%LDFLAGS% -o %GOPATH%\bin\minio.exe
|
||||
|
||||
# to disable automatic tests
|
||||
test: off
|
||||
|
||||
Reference in New Issue
Block a user