aboutsummaryrefslogtreecommitdiff
path: root/src/git-lfs
diff options
context:
space:
mode:
Diffstat (limited to 'src/git-lfs')
-rw-r--r--src/git-lfs/devcontainer-feature.json (renamed from src/git-lfs/feature.json)7
-rw-r--r--src/git-lfs/install.sh5
2 files changed, 7 insertions, 5 deletions
diff --git a/src/git-lfs/feature.json b/src/git-lfs/devcontainer-feature.json
index 892670b..516454e 100644
--- a/src/git-lfs/feature.json
+++ b/src/git-lfs/devcontainer-feature.json
@@ -4,9 +4,12 @@
"options": {
"version": {
"type": "string",
- "enum": ["latest", "none"],
+ "enum": [
+ "latest",
+ "none"
+ ],
"default": "latest",
- "description": "Currently unused."
+ "description": "Select version of Git LFS to install"
}
},
"install": {
diff --git a/src/git-lfs/install.sh b/src/git-lfs/install.sh
index dd9e702..0ba88c3 100644
--- a/src/git-lfs/install.sh
+++ b/src/git-lfs/install.sh
@@ -6,10 +6,9 @@
#
# Docs: https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/git-lfs.md
# Maintainer: The VS Code and Codespaces Teams
-#
-# Syntax: ./git-lfs-debian.sh [version]
-GIT_LFS_VERSION=${1:-"latest"}
+GIT_LFS_VERSION=${VERSION:-"latest"}
+
GIT_LFS_ARCHIVE_GPG_KEY_URI="https://packagecloud.io/github/git-lfs/gpgkey"
GIT_LFS_ARCHIVE_ARCHITECTURES="amd64"
GIT_LFS_ARCHIVE_VERSION_CODENAMES="stretch buster bullseye bionic focal"