From 1ac1dfc92ed80984332e5f1d82324bc42a204e8d Mon Sep 17 00:00:00 2001 From: Mark Phippard Date: Mon, 25 Mar 2024 18:33:54 +0000 Subject: [PATCH 1/2] Retrieve 100 tags instead of default (30) --- src/microsoft-git/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft-git/install.sh b/src/microsoft-git/install.sh index 8c50212..6c151dc 100755 --- a/src/microsoft-git/install.sh +++ b/src/microsoft-git/install.sh @@ -44,7 +44,7 @@ fi # Partial version matching if [ "$(echo "${GIT_VERSION}" | grep -o '\.' | wc -l)" != "2" ]; then requested_version="${GIT_VERSION}" - version_list="$(curl -sSL -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/microsoft/git/tags" | grep -oP '"name":\s*"v\K[0-9]+\.[0-9]+\.[0-9]+\.vfs\.[0-9]+\.[0-9]+"' | tr -d '"' | sort -rV)" + version_list="$(curl -sSL -H "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/microsoft/git/tags?per_page=100" | grep -oP '"name":\s*"v\K[0-9]+\.[0-9]+\.[0-9]+\.vfs\.[0-9]+\.[0-9]+"' | tr -d '"' | sort -rV)" if [ "${requested_version}" = "latest" ] || [ "${requested_version}" = "lts" ] || [ "${requested_version}" = "current" ]; then GIT_VERSION="$(echo "${version_list}" | head -n 1)" else From 514fcfa70ddcaf49b9d75cb9503ea913e7679d35 Mon Sep 17 00:00:00 2001 From: Mark Phippard Date: Tue, 26 Mar 2024 16:46:10 +0000 Subject: [PATCH 2/2] Bump version for release --- src/microsoft-git/devcontainer-feature.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/microsoft-git/devcontainer-feature.json b/src/microsoft-git/devcontainer-feature.json index fafd750..ebad89b 100644 --- a/src/microsoft-git/devcontainer-feature.json +++ b/src/microsoft-git/devcontainer-feature.json @@ -1,19 +1,18 @@ { "name": "Microsoft Git for monorepo with GVFS support", "id": "microsoft-git", - "version": "1.0.5", + "version": "1.0.6", "description": "A fork of Git containing Microsoft-specific patches", "options": { "version": { "type": "string", "proposals": [ "latest", + "2.43.0.vfs.0.0", + "2.42.0.vfs.0.3", + "2.40.1.vfs.0.2", "2.39.2.vfs.0.0", - "2.39.1.vfs.0.0", - "2.39.0.vfs.0.0", - "2.38.1.vfs.0.1", - "2.38.1.vfs.0.0", - "2.38.0.vfs.0.0" + "2.38.1.vfs.0.1" ], "default": "latest", "description": "Select version of Microsoft Git, if not latest."