fix: fix version installation

This commit is contained in:
35C4n0r 2026-03-13 18:57:02 +05:30
parent 70f4d625b8
commit 90fe6a50a0
No known key found for this signature in database
GPG Key ID: 5B71E5C9D18D5675

View File

@ -23,7 +23,7 @@ install_copilot() {
if [ "$ARG_COPILOT_VERSION" = "latest" ]; then if [ "$ARG_COPILOT_VERSION" = "latest" ]; then
curl -fsSL https://gh.io/copilot-install | bash curl -fsSL https://gh.io/copilot-install | bash
else else
VERSION="${ARG_COPILOT_VERSION}" curl -fsSL https://gh.io/copilot-install | bash curl -fsSL https://gh.io/copilot-install | VERSION="${ARG_COPILOT_VERSION}" bash
fi fi
if ! command_exists copilot; then if ! command_exists copilot; then