fix: Fix incorrect variable name in gem publish script

This commit is contained in:
Daniel Azuma committed 2020-10-27 19:35:26 +00:00
1 parent c6266b6fe9
commit 8d2ef13ecc
1 file changed
+1 -1
+1 -1
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