lib/gonative/plugins/ios/publish/release.rb in gonative-cli-0.4.0 vs lib/gonative/plugins/ios/publish/release.rb in gonative-cli-0.4.1
- old
+ new
@@ -40,9 +40,10 @@
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}.\""
system "git tag #{spec.version}"
system "git push && git push --tags"
end
end