Rakefile in gem_name-0.1.6 vs Rakefile in gem_name-0.1.7
- old
+ new
@@ -21,11 +21,11 @@
end
desc "Create a new release and push [patch|minor|major], default is patch"
task bump: [:test] do |t, args|
part = args.to_a.fetch(0, "patch")
- sh "git add -A && { git commit --quiet -m 'bump #{part}' 2>/dev/null || true; } &&
- gem bump --silent --quiet --tag --push --release && gh release create #{version} --generate-notes"
+ sh "{ git add -A && git commit --quiet -m 'bump #{part}' 2>/dev/null &&
+ gem bump --silent --quiet --tag --push --release && gh release create #{version} --generate-notes; } || true"
end
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"