File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " Microsoft Git for monorepo with GVFS support" ,
33 "id" : " microsoft-git" ,
4- "version" : " 1.0.5 " ,
4+ "version" : " 1.0.6 " ,
55 "description" : " A fork of Git containing Microsoft-specific patches" ,
66 "options" : {
77 "version" : {
88 "type" : " string" ,
99 "proposals" : [
1010 " latest" ,
11+ " 2.43.0.vfs.0.0" ,
12+ " 2.42.0.vfs.0.3" ,
13+ " 2.40.1.vfs.0.2" ,
1114 " 2.39.2.vfs.0.0" ,
12- " 2.39.1.vfs.0.0" ,
13- " 2.39.0.vfs.0.0" ,
14- " 2.38.1.vfs.0.1" ,
15- " 2.38.1.vfs.0.0" ,
16- " 2.38.0.vfs.0.0"
15+ " 2.38.1.vfs.0.1"
1716 ],
1817 "default" : " latest" ,
1918 "description" : " Select version of Microsoft Git, if not latest."
Original file line number Diff line number Diff line change 4444# Partial version matching
4545if [ " $( echo " ${GIT_VERSION} " | grep -o ' \.' | wc -l) " != " 2" ]; then
4646 requested_version=" ${GIT_VERSION} "
47- 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) "
47+ 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) "
4848 if [ " ${requested_version} " = " latest" ] || [ " ${requested_version} " = " lts" ] || [ " ${requested_version} " = " current" ]; then
4949 GIT_VERSION=" $( echo " ${version_list} " | head -n 1) "
5050 else
You can’t perform that action at this time.
0 commit comments