diff --git a/src/copilot-cli/devcontainer-feature.json b/src/copilot-cli/devcontainer-feature.json index bfd97286c..922523e41 100644 --- a/src/copilot-cli/devcontainer-feature.json +++ b/src/copilot-cli/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "copilot-cli", - "version": "1.1.2", + "version": "1.2.0", "name": "GitHub Copilot CLI", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/copilot-cli", "description": "Installs the GitHub Copilot CLI.", @@ -15,7 +15,6 @@ "description": "Select version of the GitHub Copilot CLI, if not latest." } }, - "postStartCommand": "[ -f /etc/devcontainer-copilot-cli/auto-update ] && copilot update || true", "customizations": { "vscode": { "settings": { diff --git a/src/copilot-cli/install.sh b/src/copilot-cli/install.sh index 47c2e3aca..7250fa642 100755 --- a/src/copilot-cli/install.sh +++ b/src/copilot-cli/install.sh @@ -80,9 +80,3 @@ echo "Downloading GitHub Copilot CLI..." install_using_github -# Create a flag file if using "latest" or "prerelease" so the postStartCommand knows to auto-update -if [ "${CLI_VERSION}" = "latest" ] || [ "${CLI_VERSION}" = "prerelease" ]; then - mkdir -p /etc/devcontainer-copilot-cli - touch /etc/devcontainer-copilot-cli/auto-update -fi -