feat: remove version check

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

View File

@ -20,11 +20,7 @@ ARG_COPILOT_MODEL=${ARG_COPILOT_MODEL:-claude-sonnet-4.5}
install_copilot() { install_copilot() {
if ! command_exists copilot; then if ! command_exists copilot; then
echo "Installing GitHub Copilot CLI (version: ${ARG_COPILOT_VERSION})..." echo "Installing GitHub Copilot CLI (version: ${ARG_COPILOT_VERSION})..."
if [ "$ARG_COPILOT_VERSION" = "latest" ]; then curl -fsSL https://gh.io/copilot-install | VERSION="${ARG_COPILOT_VERSION}" bash
curl -fsSL https://gh.io/copilot-install | bash
else
curl -fsSL https://gh.io/copilot-install | VERSION="${ARG_COPILOT_VERSION}" bash
fi
if ! command_exists copilot; then if ! command_exists copilot; then
echo "PATH after installation: $PATH" echo "PATH after installation: $PATH"