From 1c9b35c2931e0cb36f763d82f294c84d8555180e Mon Sep 17 00:00:00 2001 From: Leon Yu Date: Wed, 12 Sep 2018 10:56:15 -0400 Subject: [PATCH] Add mingit-busybox version 2.18.0.windows.1 (#2576) --- mingit-busybox.json | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 mingit-busybox.json diff --git a/mingit-busybox.json b/mingit-busybox.json new file mode 100644 index 0000000000..f5116cc8a0 --- /dev/null +++ b/mingit-busybox.json @@ -0,0 +1,48 @@ +{ + "homepage": "https://git-for-windows.github.io/", + "license": "GPL-2.0", + "version": "2.18.0.windows.1", + "architecture": { + "64bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/MinGit-2.18.0-busybox-64-bit.zip", + "hash": "1a34608fbb82f607924d21ac2737c189a250fd9c6f4255a939e55c7fc3b10a0d" + }, + "32bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v2.18.0.windows.1/MinGit-2.18.0-busybox-32-bit.zip", + "hash": "6a667b03bacbcd2627e4e9a29a222c1ccb01c340bc721352afd6427f3621945c" + } + }, + "bin": [ + "cmd\\git.exe", + "mingw64\\bin\\busybox.exe" + ], + "notes": [ + "To get Git to recognise OpenSSH, you will need to run", + "", + "scoop install openssh", + "[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')", + "", + "and then restart powershell." + ], + "checkver": { + "url": "https://github.com/git-for-windows/git/releases/latest", + "re": "v(?[\\d\\w.]+)/MinGit-(?[\\d.]+).*\\.exe" + }, + "env_set": { + "GIT_INSTALL_ROOT": "$dir" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-64-bit.zip" + }, + "32bit": { + "url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-32-bit.zip" + } + }, + "hash": { + "url": "https://github.com/git-for-windows/git/releases/latest", + "find": "$basename<\\/td>\\s*([0-9a-fA-F]+)<\\/td>" + } + } +}