Mercurial
diff mrjunejune/production_entrypoint.sh @ 268:f7b1188d5fb1
support repo rules Copilot bundle path
Match both +_repo_rules2+ and +http_archive+ Copilot CLI repository layouts during deployment and production startup.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:02:41 -0700 |
| parents | a78f5986011f |
| children |
line wrap: on
line diff
--- a/mrjunejune/production_entrypoint.sh Fri Aug 07 12:58:55 2026 -0700 +++ b/mrjunejune/production_entrypoint.sh Fri Aug 07 13:02:41 2026 -0700 @@ -6,7 +6,10 @@ copilot_cli="$( find -L "$bundle_root" -type f \ - -path '*/copilot_cli_linux_x86_64/copilot' -print -quit + \( \ + -path '*+_repo_rules2+copilot_cli_linux_x86_64/copilot' -o \ + -path '*+http_archive+copilot_cli_linux_x86_64/copilot' \ + \) -print -quit )" python_runtime="$( find -L "$bundle_root" -type f \