Skip to content

Commit 2652a14

Browse files
committed
Backport OS X installer metadata
1 parent ab3d17e commit 2652a14

File tree

4 files changed

+41
-4
lines changed

4 files changed

+41
-4
lines changed

installers/homebrew/cf-bin.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
class CfBin < Formula
44
homepage 'https://github.com/cloudfoundry/cli'
5-
url 'https://github.com/cloudfoundry/cli/releases/download/v6.0.0/cf-darwin-amd64.tgz'
6-
sha1 'f2b27f521da2abeacc289071f5f409cfef8ce9e3'
5+
url 'https://github.com/cloudfoundry/cli/releases/download/v6.0.1/cf-darwin-amd64.tgz'
6+
sha1 '548a83996ade1fb4c4334e4ebcfd558434c01daf'
77

88
def install
9-
system 'curl -O https://raw.github.com/cloudfoundry/cli/v6.0.0/LICENSE'
9+
system 'curl -O https://raw.github.com/cloudfoundry/cli/v6.0.1/LICENSE'
1010
bin.install 'cf-darwin-amd64' => 'cf'
1111
doc.install 'LICENSE'
1212
end

installers/homebrew/cf-src.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
class CfSrc < Formula
44
homepage 'https://github.com/cloudfoundry/cli'
5-
url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.0.0'
5+
url 'https://github.com/cloudfoundry/cli.git', :tag => 'v6.0.1'
66

77
head 'https://github.com/cloudfoundry/cli.git', :branch => 'master'
88

99
depends_on 'go' => :build
1010

1111
def install
1212
inreplace 'src/cf/app_constants.go', 'SHA', 'homebrew'
13+
inreplace 'src/cf/app_constants.go', 'BUILT_FROM_SOURCE', 'homebrew'
1314
system 'bin/build'
1415
bin.install 'out/cf'
1516
doc.install 'LICENSE'

installers/osx/Distribution

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<installer-gui-script minSpecVersion="2">
3+
<pkg-ref id="com.cloudfoundry.cli">
4+
<bundle-version>
5+
<bundle CFBundleShortVersionString="6.6" CFBundleVersion="1510" SourceVersion="1510000000000000" BuildVersion="1" id="com.cloudfoundry.cli" path="Cloud Foundry CLI.app"/>
6+
</bundle-version>
7+
</pkg-ref>
8+
<product id="com.cloudfoundry.cli" version="6.6"/>
9+
<title>Cloud Foundry CLI</title>
10+
<options customize="never" require-scripts="false" hostArchitectures="x86_64"/>
11+
<volume-check>
12+
<allowed-os-versions>
13+
<os-version min="10.7"/>
14+
</allowed-os-versions>
15+
</volume-check>
16+
<choices-outline>
17+
<line choice="default">
18+
<line choice="com.cloudfoundry.cli"/>
19+
</line>
20+
</choices-outline>
21+
<choice id="default" title="Cloud Foundry CLI" versStr="6.6"/>
22+
<choice id="com.cloudfoundry.cli" title="Cloud Foundry CLI" visible="false">
23+
<pkg-ref id="com.cloudfoundry.cli"/>
24+
</choice>
25+
<pkg-ref id="com.cloudfoundry.cli" version="6.6.0" installKBytes="15000" onConclusion="none">#com.cloudfoundry.cli.pkg</pkg-ref>
26+
</installer-gui-script>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="no"?>
2+
<pkg-info overwrite-permissions="true" relocatable="false" identifier="com.pivotal.cloudfoundry.pkg" postinstall-action="none" version="0" format-version="2" generator-version="InstallCmds-319 (12F37)" auth="root">
3+
<payload numberOfFiles="9" installKBytes="14019"/>
4+
<bundle-version/>
5+
<upgrade-bundle/>
6+
<update-bundle/>
7+
<atomic-update-bundle/>
8+
<strict-identifier/>
9+
<relocate/>
10+
</pkg-info>

0 commit comments

Comments
 (0)