Skip to content

Commit 9ebd922

Browse files
committed
[build] redo release task helper for jdbc gems
1 parent 1ca0b03 commit 9ebd922

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Rakefile.jdbc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,11 @@ desc "Build and install #{name}-#{version} gem into system gems"
1717
task('install') { gem_helper.install_gem }
1818

1919
desc "Create tag #{version_tag} build and push #{name}-#{version} gem to Rubygems"
20-
task('release') { gem_helper.release_gem }
20+
task('release') do
21+
gem_helper.instance_eval do
22+
guard_clean
23+
built_gem_path = build_gem
24+
tag_version unless already_tagged?
25+
rubygem_push(built_gem_path) if gem_push?
26+
end
27+
end

0 commit comments

Comments
 (0)