Rakefile in signaturit-sdk-1.1.0 vs Rakefile in signaturit-sdk-1.2.0
- old
+ new
@@ -10,10 +10,14 @@
task :release => :build do
unless `git branch` =~ /^\* master$/
puts 'You must be on the master branch to release!'
exit!
end
-
+
+ sh "git commit --allow-empty -m 'Release :gem: #{spec.version}'"
+ sh "git tag #{spec.version}"
+ sh 'git push origin master'
+ sh "git push origin #{spec.version}"
sh "gem push pkg/signaturit-sdk-#{spec.version}.gem"
end
desc "Build signaturit-sdk-#{spec.version} into pkg/"
task :build do