Skip to content

Commit 3f56f9c

Browse files
authored
Revert "Add default copilot update to postStartCommand (#1624)"
This reverts commit 732822d.
1 parent 732822d commit 3f56f9c

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

src/copilot-cli/devcontainer-feature.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "copilot-cli",
3-
"version": "1.1.2",
3+
"version": "1.0.0",
44
"name": "GitHub Copilot CLI",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/copilot-cli",
66
"description": "Installs the GitHub Copilot CLI.",
@@ -15,7 +15,6 @@
1515
"description": "Select version of the GitHub Copilot CLI, if not latest."
1616
}
1717
},
18-
"postStartCommand": "[ -f /etc/devcontainer-copilot-cli/auto-update ] && copilot update || true",
1918
"customizations": {
2019
"vscode": {
2120
"settings": {

src/copilot-cli/install.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,3 @@ echo "Downloading GitHub Copilot CLI..."
8080

8181
install_using_github
8282

83-
# Create a flag file if using "latest" or "prerelease" so the postStartCommand knows to auto-update
84-
if [ "${CLI_VERSION}" = "latest" ] || [ "${CLI_VERSION}" = "prerelease" ]; then
85-
mkdir -p /etc/devcontainer-copilot-cli
86-
touch /etc/devcontainer-copilot-cli/auto-update
87-
fi
88-

0 commit comments

Comments
 (0)