release: Add release scripts.

master
Harshavardhana 9 years ago
parent f7029fc6f1
commit 9722eaf02c
  1. 5
      release.cmd
  2. 6
      release.sh

@ -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

@ -0,0 +1,6 @@
#!/bin/bash
echo -n "Making official release binaries.. "
export MINIO_RELEASE=OFFICIAL
make 1>/dev/null
echo "Binaries built at ${GOPATH}/bin/minio"
Loading…
Cancel
Save