bosh_cli 1.2889.0 → 1.2891.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cli/release_builder.rb +17 -5
- data/lib/cli/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b313380c45d38aa82a3f8091a13dc1cdd69dfbe
|
4
|
+
data.tar.gz: 7f000f6fd769d7db14f82aee761352773f428f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feb792be9ea7cb30d37f601a76a43913d6f79b4c306ec974ec718d1e18db95e95552eb12fc536dc522873d5d6552657b36c0d03913c86f04aa6dfe4bb1504bc1
|
7
|
+
data.tar.gz: 51e41427c1c775537034fee707b641bc2d06ab8e0473d1dcaca2b58cfeadd6fca277e071376c5d392eb7e9e6baf9379077ad6c0063f9669679fb30baff1b4bd0
|
data/lib/cli/release_builder.rb
CHANGED
@@ -215,17 +215,29 @@ module Bosh::Cli
|
|
215
215
|
return if @license_artifact.nil?
|
216
216
|
|
217
217
|
header("Copying license...")
|
218
|
-
copy_artifact(@license_artifact)
|
218
|
+
copied = copy_artifact(@license_artifact)
|
219
|
+
extract_license(copied)
|
219
220
|
nl
|
220
221
|
end
|
221
222
|
|
222
223
|
def copy_artifact(artifact, dest = nil)
|
223
224
|
name = artifact.name
|
224
|
-
|
225
|
+
source_path = artifact.tarball_path
|
226
|
+
output_path = File.join([build_dir, dest, "#{name}.tgz"].compact)
|
227
|
+
|
225
228
|
say("%-40s %s" % [name.make_green, pretty_size(tarball_path)])
|
226
|
-
FileUtils.cp(
|
227
|
-
|
228
|
-
|
229
|
+
FileUtils.cp(source_path, output_path, :preserve => true)
|
230
|
+
|
231
|
+
output_path
|
232
|
+
end
|
233
|
+
|
234
|
+
def extract_license(tarball_path)
|
235
|
+
return if @license_artifact.nil?
|
236
|
+
|
237
|
+
in_build_dir do
|
238
|
+
`tar -xzf #{tarball_path} 2>&1`
|
239
|
+
`rm #{tarball_path} 2>&1`
|
240
|
+
end
|
229
241
|
end
|
230
242
|
|
231
243
|
def assign_version
|
data/lib/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2891.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_common
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.2891.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.2891.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bosh-template
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.2891.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.2891.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: json_pure
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.2891.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.2891.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: net-ssh
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,7 +292,7 @@ dependencies:
|
|
292
292
|
version: '0'
|
293
293
|
description: |-
|
294
294
|
BOSH CLI
|
295
|
-
|
295
|
+
1d294c
|
296
296
|
email: support@cloudfoundry.com
|
297
297
|
executables:
|
298
298
|
- bosh
|