diff --git a/announcement.gemspec b/announcement.gemspec index 375134f..8bfab98 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -12,9 +12,9 @@ old_gemfile_text = File.read(env_pwd+'/Gemfile') check_texts = ['@import "../../bootstrap/variables";',".response-content {\n justify-self: auto;\n}\n"] git_url = Bundler.with_clean_env{%x[cd '#{env_pwd}' && git config --get remote.origin.url].sub("\n",'')} git_remote = Bundler.with_clean_env{%x[cd '#{env_pwd}' && git remote].sub("\n",'')} -if git_url != 'https://ruling.digital/git' +if git_url != 'http://ruling.digital/git' puts 'changing remote url' - Bundler.with_clean_env{system("cd #{env_pwd} && git remote set-url #{git_remote} https://ruling.digital/git")} + Bundler.with_clean_env{system("cd #{env_pwd} && git remote set-url #{git_remote} http://ruling.digital/git")} end all_template.each do |folder| if !folder.include?('mobile')