ecb 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbe1bcf471c242f850f8dc9375dc12fcfbd67c99
4
- data.tar.gz: f678fff7e974b5cac146cdcc30b34fcd7db6356e
3
+ metadata.gz: 15b890f2091a15f90d16603f447e5a39f80e956e
4
+ data.tar.gz: 3b0228c5b11428c6aa92e66bbc3f6665ee0c5457
5
5
  SHA512:
6
- metadata.gz: fe44b32d5c0374c68a0f6ded4885387846d453ea534646dcd36a060d0945eb22b730f9a3e91289cafe43a62638aab4182b9a8588c71b7dd67d66239b3642d5ed
7
- data.tar.gz: a92064d3c6ca6549abe9ae864385ad2e2c06f9ce1424d9a4dad664d00863cef4d84a41c210e0476d6c8bc116195b09d4ae91741f6b424fa82b2c460107b61ae3
6
+ metadata.gz: f1c37182fdd72b23a248e2fccbc9f88db8b3b3e9247d5682966262985bb1a3116bea7e629ee7bba90798c57f3e00dc13ac607f29a4ace775cc836f9fe1b5b3ba
7
+ data.tar.gz: 39d6ca512348f52970ced43e16acaac8393fc1694dc3f61de9a151e9c1065f48559334d17196d2999ec19daa4ee4a4d862910e3d64e8e17c4bc0fabff71367b9
@@ -51,6 +51,7 @@ module Commands
51
51
  config_repo_url = EcbSharedLib.prepare_config_repo(nil)
52
52
  info = EcbSharedLib.read_repo_config(config_repo_url, config_name)
53
53
  info_plist = info[:info_plist]
54
+ enterprise_info_plist = info[:enterprise_info_plist]
54
55
  verbose = options[:verbose]
55
56
  if (info_plist) then
56
57
  puts ". Info plist....: " + info_plist if verbose
@@ -61,6 +62,15 @@ module Commands
61
62
  plist_data.save_plist(info_plist)
62
63
  end
63
64
  end
65
+ if (enterprise_info_plist) then
66
+ puts ". Info plist....: " + enterprise_info_plist if verbose
67
+ plist_data = Plist::parse_xml(enterprise_info_plist)
68
+ if (build) then
69
+ plist_data["BuildIdentifier"] = build
70
+ puts ". buildindentifer....: " + build if verbose
71
+ plist_data.save_plist(enterprise_info_plist)
72
+ end
73
+ end
64
74
  end
65
75
  end
66
76
  end
@@ -106,6 +106,15 @@ module Commands
106
106
 
107
107
  builds = info[:builds]
108
108
  builds.each do |build|
109
+ info_plist = info[:info_plist]
110
+ enterprise_info_plist = info[:enterprise_info_plist]
111
+ if build[:build_type] == "enterprise" &&
112
+ !info_plist.nil? && !enterprise_info_plist.nil? then
113
+ cmd = "rm #{info_plist}"
114
+ EcbSharedLib::CL.do_cmd(cmd, '.')
115
+ cmd = "cp #{enterprise_info_plist} #{info_plist}"
116
+ EcbSharedLib::CL.do_cmd(cmd, '.')
117
+ end
109
118
  do_build(build, archivePath)
110
119
  cmd = "git checkout ."
111
120
  EcbSharedLib::CL.do_cmd(cmd, '.')
@@ -7,6 +7,6 @@
7
7
  #
8
8
  class Info
9
9
  def self.version
10
- "0.0.25"
10
+ "0.0.26"
11
11
  end
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Hoiberg