mirror of
https://github.com/minio/minio.git
synced 2024-12-26 15:15:55 -05:00
Merge pull request #988 from harshavardhana/add-release
release: Add release scripts.
This commit is contained in:
commit
66b3918b04
5
release.cmd
Normal file
5
release.cmd
Normal 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
|
6
release.sh
Normal file
6
release.sh
Normal file
@ -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…
Reference in New Issue
Block a user