cocoapods-release 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pod/command/release.rb +5 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ca4b8d8401dd020c79332d916f55a4716245165
|
4
|
+
data.tar.gz: 339637138b8b41708e3710883266a3078bdde181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f3e98d1a25ff58f9c1a7fa953b6152e83b6bb8de1051aa8c31797edbf96e34f5045e1d530e27cc1b3399dc8ee18f0feee67cefdce7f8a80441ee6c28ad4e512
|
7
|
+
data.tar.gz: 3d0797bbe72cc7a8341c75043a3457d1a0c601a7f0b73d932ce329c0fd14773f2dfb490b2994cefcf47bb79b49f70bfaf45c3283de58d662e52d74dfc4f567ad
|
data/lib/pod/command/release.rb
CHANGED
@@ -74,6 +74,10 @@ module Pod
|
|
74
74
|
# verify lib
|
75
75
|
execute "pod lib lint #{spec} #{@allow_warnings}"
|
76
76
|
|
77
|
+
if `pod --version`.to_f >= 0.36
|
78
|
+
execute "pod lib lint #{spec} --use-frameworks #{@allow_warnings}"
|
79
|
+
end
|
80
|
+
|
77
81
|
# TODO: create git tag for current version
|
78
82
|
unless system("git tag | grep #{version} > /dev/null")
|
79
83
|
execute "git add -A && git commit -m \"Releases #{version}.\""
|
@@ -81,7 +85,7 @@ module Pod
|
|
81
85
|
execute "git push && git push --tags"
|
82
86
|
end
|
83
87
|
|
84
|
-
repo = pushed_sources.first.name
|
88
|
+
repo = (@repo || pushed_sources.first).name
|
85
89
|
if repo == "master"
|
86
90
|
execute "pod trunk push #{spec} #{@allow_warnings}"
|
87
91
|
else
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oliver Letterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|