Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# frozen_string_literal: true

require "bundler/gem_tasks"

# In CI the release workflow already handles tags via the bump job,
# so skip Bundler's source-control tasks to avoid "tag already exists" errors.
if ENV["CI"]
Rake::Task["release:guard_clean"].clear
task "release:guard_clean"
Rake::Task["release:source_control_push"].clear
task "release:source_control_push"
end

require "rake/testtask"

Rake::TestTask.new(:test) do |t|
Expand Down