From 6b700ebd45e6b2323036bf3154d7020558502437 Mon Sep 17 00:00:00 2001 From: chiu Date: Sun, 16 Feb 2020 10:48:12 +0800 Subject: [PATCH] try --- announcement.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/announcement.gemspec b/announcement.gemspec index f68dc7f..0d06542 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -13,7 +13,7 @@ git_url = %x[cd '#{ENV['PWD']}' && git config --get remote.origin.url].sub("\n", git_remote = %x[cd '#{ENV['PWD']}' && git remote].sub("\n",'') puts ['git_url',git_url] puts ['git_remote',git_remote] -if get_url != 'https://ruling.digital/git' +if git_url != 'https://ruling.digital/git' system("cd #{ENV['PWD']} && git remote set-url #{git_remote} https://ruling.digital/git") end all_template.each do |folder|