Release 0.14.0 (#300)

* Introduce script to automate release

* Rakefile levelup

* Version 0.14.0

* Fix newline at end of podspec.json

* Ensure we start and end on master branch

And that we pull latest master before tagging

* CRLF at EOF

* Remove [:version] param from `release:finish` task

It can be guessed from the current podspec version

* Fix create_release task

* Ensure we run rake via bundle exec

Co-authored-by: David Jennes <djbe@users.noreply.github.com>

Co-authored-by: David Jennes <djbe@users.noreply.github.com>
This commit is contained in:
Olivier Halligon
2020-08-17 20:42:00 +02:00
committed by GitHub
parent 19646bcddf
commit e93b33423b
12 changed files with 335 additions and 8 deletions

21
rakelib/pod.rake Normal file
View File

@@ -0,0 +1,21 @@
require 'json'
def current_pod_version
JSON.parse(File.read(PODSPEC_FILE))['version']
end
namespace :pod do
# rake pod:lint
desc "Lint the podspec"
task :lint do
header "Linting podspec"
sh("pod", "lib", "lint", PODSPEC_FILE)
end
# rake pod:push
desc "Push the podspec to trunk"
task :push do
header "Pushing podspec to trunk"
sh("pod", "trunk", "push", PODSPEC_FILE)
end
end