fix: Fix incorrect variable name in gem publish script

This commit is contained in:
Daniel Azuma 2020-10-27 19:35:26 +00:00
parent c6266b6fe9
commit 8d2ef13ecc
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ namespace :kokoro do
Rake::Task["build"].invoke
built_gem_path = Dir.glob("pkg/google-api-client-*.gem").last
response = ::Gems.push File.new path_to_be_pushed
response = ::Gems.push File.new built_gem_path
puts response
raise "Failed to release gem" unless response.include? "Successfully registered gem:"
end