From bb144942d8c1d28a2734953b913ed89a7f1f7d8a Mon Sep 17 00:00:00 2001 From: xuan-cao-swi Date: Mon, 4 Dec 2023 11:45:44 -0500 Subject: [PATCH] typo --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 18675d7e..c3abe1b0 100755 --- a/Rakefile +++ b/Rakefile @@ -388,7 +388,7 @@ end desc 'Build gem and push to github package. Run as bundle exec rake build_gem_push_to_github_package[]' task :build_gem_push_to_github_package, [:version] do |_, args| gem_to_push = find_or_build_gem(args[:version]) - gem_to_push.delete!('builds/') + gem_to_push.gsub!('builds/','') exit 1 unless system('gem', 'push', '--key', 'github', '--host', 'https://rubygems.pkg.github.com/solarwinds', gem_to_push) puts "\n=== Finished ===\n" end