From 190e972a22e84259354ac593d9aca9f3ba2e6016 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 14 Jun 2024 15:35:35 +0100 Subject: [PATCH] sync/shared-config: make relative ruby_version/Gemfile* symlinks. --- .github/actions/sync/shared-config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/sync/shared-config.rb b/.github/actions/sync/shared-config.rb index ba061c82..91a16553 100755 --- a/.github/actions/sync/shared-config.rb +++ b/.github/actions/sync/shared-config.rb @@ -134,6 +134,7 @@ def git(*args) if [ruby_version, "Gemfile", "Gemfile.lock"].include?(docs_path_basename) && (target_path/docs_path_basename).exist? FileUtils.rm target_docs_path + File.symlink((target_path/docs_path_basename).relative_path_from(target_docs_path.dirname), target_docs_path) else FileUtils.cp docs_path, target_docs_path end