Skip to content

Commit

Permalink
release: don't push gem by "rake release"
Browse files Browse the repository at this point in the history
Because we're using Trusted Publishing.
  • Loading branch information
kou committed Dec 12, 2024
1 parent 5e011b7 commit 2131aa1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ task :test do
ruby("test/run.rb")
end

release_task = Rake.application["release"]
release_task.prerequisites.delete("build")
release_task.prerequisites.delete("release:rubygem_push")
release_task_comment = release_task.comment
if release_task_comment
release_task.clear_comments
release_task.comment = release_task_comment.gsub(/ and build.*$/, "")
end

namespace :version do
desc "Bump version"
task :bump do
Expand Down

0 comments on commit 2131aa1

Please sign in to comment.