From a43612cef07c134057a3a4722f7f1667bb678e3d Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Tue, 23 Nov 2021 15:42:28 +0500 Subject: [PATCH] vsn bump ipinfo from 2.6.0 to 2.6.1. --- README.md | 16 ++++++++-------- ipinfo/deb.sh | 2 +- ipinfo/dist/DEBIAN/control | 2 +- ipinfo/macos.sh | 2 +- ipinfo/main.go | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a2c521c7..1d6058de 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ brew install ipinfo-cli OR to install the latest `amd64` version without automatic updates: ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.0/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/macos.sh | sh ``` ### Debian / Ubuntu (amd64) ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.0/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/deb.sh | sh ``` ### FreeBSD @@ -42,8 +42,8 @@ cd /usr/ports/net/ipinfo-cli && make install clean OR ```bash -curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.0/ipinfo_2.6.0.deb -sudo dpkg -i ipinfo_2.6.0.deb +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/ipinfo_2.6.1.deb +sudo dpkg -i ipinfo_2.6.1.deb ``` ### Using `go get` @@ -94,12 +94,12 @@ After choosing a platform `PLAT` from above, run: ```bash # for Windows, use ".zip" instead of ".tar.gz" -curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.0/ipinfo_2.6.0_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/ipinfo_2.6.1_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.0/ipinfo_2.6.0_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/ipinfo_2.6.1_${PLAT}.tar.gz -tar -xvf ipinfo_2.6.0_${PLAT}.tar.gz -mv ipinfo_2.6.0_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_2.6.1_${PLAT}.tar.gz +mv ipinfo_2.6.1_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index 7ef0162c..5f76d490 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.6.0 +VSN=2.6.1 curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}.deb sudo dpkg -i ipinfo_${VSN}.deb diff --git a/ipinfo/dist/DEBIAN/control b/ipinfo/dist/DEBIAN/control index 457d62f1..07dd3010 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 2.6.0 +Version: 2.6.1 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index 9b2a91a5..63ee82ae 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.6.0 +VSN=2.6.1 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-${VSN}/ipinfo_${VSN}_${PLAT}.tar.gz diff --git a/ipinfo/main.go b/ipinfo/main.go index a95c19ee..465324d3 100644 --- a/ipinfo/main.go +++ b/ipinfo/main.go @@ -11,7 +11,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "2.6.0" +var version = "2.6.1" // global flags. var fHelp bool