lib/gonative/plugins/ios/publish/release.rb in gonative-cli-0.4.1 vs lib/gonative/plugins/ios/publish/release.rb in gonative-cli-0.4.2
- old
+ new
@@ -12,11 +12,10 @@
def release_pod!
Utils::UI.info 'Linting and releasing pod'
assert_spec_exists!
sources_manager.update(GONATIVE_SOURCE_NAME)
assert_not_pushed!
- verify_lib!
create_and_push_tag!
push_to_pod_repo!
end
private
@@ -32,13 +31,9 @@
name = spec.name
pushed_versions = source.versions(name).collect(&:to_s)
raise Error, "#{name} (#{version}) has already been pushed to #{source.name}" if pushed_versions.include? version.to_s
- end
-
- def verify_lib!
- raise Error, "pod lib lint failed" unless system("pod lib lint #{spec_name} --private")
end
def create_and_push_tag!
unless system("git tag | grep #{spec.version} > /dev/null")
system "git add -A && git commit -m \"Releases #{spec.version}.\""