fix: Fix incorrect variable name in gem publish script
This commit is contained in:
parent
c6266b6fe9
commit
8d2ef13ecc
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue