Mercurial
diff mrjunejune/deploy.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 | de291f396881 |
line wrap: on
line diff
--- a/mrjunejune/deploy.sh Fri Aug 07 12:58:55 2026 -0700 +++ b/mrjunejune/deploy.sh Fri Aug 07 13:02:41 2026 -0700 @@ -21,7 +21,10 @@ copilot_cli="$( sudo find -L "$staging" -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="$( sudo find -L "$staging" -type f \