From 1bdff72bad18e0c2a3512fd5009923eb084bf9f1 Mon Sep 17 00:00:00 2001 From: Echizen Ryoma Date: Tue, 14 Feb 2023 13:42:44 +0800 Subject: [PATCH] ipinfo-cli: Add version 2.10.1 (#4445) * Create ipinfo-cli.json * Update ipinfo-cli.json * Update ipinfo-cli.json --------- Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> --- bucket/ipinfo-cli.json | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 bucket/ipinfo-cli.json diff --git a/bucket/ipinfo-cli.json b/bucket/ipinfo-cli.json new file mode 100644 index 0000000000..504b8997c3 --- /dev/null +++ b/bucket/ipinfo-cli.json @@ -0,0 +1,43 @@ +{ + "version": "2.10.1", + "description": "This is the official CLI for the IPinfo.io IP address API", + "license": "Apache-2.0", + "homepage": "https://github.com/ipinfo/cli", + "architecture": { + "32bit": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-2.10.1/ipinfo_2.10.1_windows_386.zip", + "hash": "04996a279baa1fe3dd6b4f9dfbefba84e5b1782569c05695ccde2f5c67d415c0" + }, + "64bit": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-2.10.1/ipinfo_2.10.1_windows_amd64.zip", + "hash": "31502fb04f935ae941d1c8c9cecda154c6ba03a60e8afb279a1b41e3ee52bb1e" + }, + "arm64": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-2.10.1/ipinfo_2.10.1_windows_arm.zip", + "hash": "a5db375c12965a43a41d49b0c147014ffe8b080c32a78f08c6c146fb9de5be92" + } + }, + "pre_install": [ + "$exe_path = (Get-ChildItem -Path \"$original_dir\\*\" -Include \"*.exe\" -File)[0].FullName", + "Rename-Item -Path \"${exe_path}\" -NewName \"ipinfo.exe\" -Force" + ], + "bin": "ipinfo.exe", + "checkver": { + "url": "https://api.github.com/repos/ipinfo/cli/releases/latest", + "jsonpath": "$.name", + "regex": "ipinfo-(?.*)$" + }, + "autoupdate": { + "architecture": { + "32bit": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_386.zip" + }, + "64bit": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_amd64.zip" + }, + "arm64": { + "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_arm.zip" + } + } + } +}