diff options
| -rw-r--r-- | Library/Formula/cloudfoundry-cli.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/cloudfoundry-cli.rb b/Library/Formula/cloudfoundry-cli.rb index dd901e9c2..230b209a6 100644 --- a/Library/Formula/cloudfoundry-cli.rb +++ b/Library/Formula/cloudfoundry-cli.rb @@ -3,12 +3,13 @@ require 'formula' class CloudfoundryCli < Formula homepage 'https://github.com/cloudfoundry/cli' head 'https://github.com/cloudfoundry/cli.git', :branch => 'master' - url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.0.1' + url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.1.0' depends_on 'go' => :build def install - inreplace 'src/cf/app_constants.go', 'SHA', 'homebrew' + inreplace 'src/cf/app_constants.go', 'BUILT_FROM_SOURCE', "#{version}-homebrew" + inreplace 'src/cf/app_constants.go', 'BUILT_AT_UNKNOWN_TIME', Time.now.utc.iso8601 system 'bin/build' bin.install 'out/cf' doc.install 'LICENSE' |
