cocoapods-dev-env 0.2.0 → 0.2.1

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
  SHA256:
3
- metadata.gz: d78ac653372d85eb851f44990f6a247d1ea3ae2af35d953034ef82d7273bf759
4
- data.tar.gz: cd0871f2a8e980ff86138b89617e428b011149f32c145a0efab571f946d5dc64
3
+ metadata.gz: '0997516ff8d1c908a0a6c089df0ccc7350a635d8dd2778fd4103462d182be4d7'
4
+ data.tar.gz: 4d67aae41e8b723836a9ff9b2f571b5eeb36356e79631f32460444a5c6181454
5
5
  SHA512:
6
- metadata.gz: 53c2713ed99af42e1320e3d8264c51f98227588d501a8a2eb989538de90d75044af096391f593fa99ca999037e49a0a6d0d7a2cb96d3d56cebd3e311f6e969c1
7
- data.tar.gz: 64879fdb7ba348181c7bf02718ebdae32cb01cc6bf8c6d2fa385d42c7bbc935ced96936846d666b34c8fc7ab4bae68e7b2780d30097370a92c165c583e200219
6
+ metadata.gz: e1ed5c50e49c4700e10c95e685565545cb861e2cc10cd7ccdf710bddd192eb819ee1ece0fd380636243db884a5dfbf1745de0111f016e899a107733191eb84e6
7
+ data.tar.gz: 877bbfa884705d2070ca75d69971240183860f994a90c957c444dc6c415e42dc446a18a8f5e05fe64a87f7cbbe64ace1fbf5fe0ef2d4a0f85ebd6a22843c807f
@@ -1,7 +1,7 @@
1
1
  module Cocoapods
2
2
  module Dev
3
3
  module Env
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
7
7
  end
@@ -46,7 +46,7 @@ class Podfile
46
46
  Dir.chdir(path)
47
47
  headCommitID = `git rev-parse HEAD`
48
48
  tagCommitID = `git rev-parse #{branchOrTag}`
49
- UI.puts headCommitID
49
+ UI.puts "#{`pwd`} headCommitID:#{headCommitID} \n #{branchOrTag}ComitID:#{tagCommitID}"
50
50
  Dir.chdir(currentDir)
51
51
  return (headCommitID.length > 0 && headCommitID == tagCommitID)
52
52
  end
@@ -93,13 +93,13 @@ class Podfile
93
93
  UI.puts "####### enabled dev-mode for #{pod_name}"
94
94
  elsif dev_env == 'beta'
95
95
  # Beta模式,使用tag引用远端git库的代码
96
+ tag = "#{tag}_beta"
96
97
  if File.directory?(path)
97
98
  # 从Dev模式刚刚切换过来,需要打tag并且push
98
99
  UI.puts "####### gen beta env for #{pod_name}"
99
100
  if tag == nil || tag.length == 0
100
101
  raise "#{pod_name} 未定义tag"
101
102
  end
102
- tag = "#{tag}_beta"
103
103
  currentDir = Dir.pwd
104
104
  Dir.chdir(path)
105
105
  output = `git status -s`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-dev-env
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 吴锡苗