Skip to content

Commit

Permalink
chore: Fixes to bump-version (#22609)
Browse files Browse the repository at this point in the history
  • Loading branch information
dazuma committed Jul 27, 2023
1 parent dcbc19a commit eb88a3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .toys/bump-version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ def setup
end

def verify_version
unless gem_version =~ /^\d+\.\d+\.\d+$/
raise "Bad version format: #{gem_version}"
end
manifest_data = JSON.parse File.read ".release-please-manifest.json"
gem_names.each do |gem_name|
cur_version = manifest_data[gem_name]
Expand Down Expand Up @@ -118,7 +121,7 @@ def approve_pr pr_number

def wait_for_pr_checks pr_number
puts "Waiting for #{pr_number} checks..."
exec ["pr", "checks", pr_number, "--watch", "--interval=10", "--required"]
exec ["gh", "pr", "checks", pr_number, "--watch", "--interval=10", "--required"]
puts "Checks finished for #{pr_number}"
end

Expand Down

0 comments on commit eb88a3d

Please sign in to comment.