minio 20160911174218
Closes #4811. Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
This commit is contained in:
parent
08ce10af0b
commit
1ccfc7029f
1 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@ class Minio < Formula
|
|||
desc "object storage server compatible with Amazon S3"
|
||||
homepage "https://github.com/minio/minio"
|
||||
url "https://github.com/minio/minio.git",
|
||||
:tag => "RELEASE.2016-08-21T02-44-47Z",
|
||||
:revision => "975eb319730c8db093b4744bf9e012356d61eef2"
|
||||
version "20160821024447"
|
||||
:tag => "RELEASE.2016-09-11T17-42-18Z",
|
||||
:revision => "85e2d886bcb005d49f3876d6849a2b5a55e03cd3"
|
||||
version "20160911174218"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -28,7 +28,7 @@ class Minio < Formula
|
|||
release = `git tag --points-at HEAD`.chomp
|
||||
version = release.gsub(/RELEASE\./, "").chomp.gsub(/T(\d+)\-(\d+)\-(\d+)Z/, 'T\1:\2:\3Z')
|
||||
commit = `git rev-parse HEAD`.chomp
|
||||
proj = "github.com/minio/minio/"
|
||||
proj = "github.com/minio/minio"
|
||||
|
||||
system "go", "build", "-o", buildpath/"minio", "-ldflags", <<-EOS.undent
|
||||
-X #{proj}/cmd.Version=#{version}
|
||||
|
|
Loading…
Reference in a new issue