release: Add release scripts.

This commit is contained in:
Harshavardhana
2015-12-02 10:43:41 -08:00
parent f7029fc6f1
commit 9722eaf02c
2 changed files with 11 additions and 0 deletions

5
release.cmd Normal file
View File

@@ -0,0 +1,5 @@
SET MINIO_RELEASE=OFFICIAL
SET GO15VENDOREXPERIMENT=1
go run buildscripts/gen-ldflags.go > temp.txt
SET /p LDFLAGS=<temp.txt
go build -ldflags="%LDFLAGS%" -o %GOPATH%\bin\minio.exe