From 478c5be139a427e7d3c92301b9f289c3978b781a Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Wed, 8 Dec 2021 17:49:50 +0500 Subject: [PATCH] bump ipinfo from 2.6.1 to 2.7.0 --- README.md | 20 ++++++++++---------- debian/changelog | 2 +- debian/files | 2 +- ipinfo/deb.sh | 2 +- ipinfo/dist/DEBIAN/control | 2 +- ipinfo/macos.sh | 2 +- ipinfo/main.go | 2 +- ipinfo/windows.ps1 | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 6a2c91b9..8304cbbf 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ 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.1/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/macos.sh | sh ``` ### Ubuntu PPA @@ -43,7 +43,7 @@ sudo apt install ipinfo for automatic updates. ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/deb.sh | sh ``` ### Windows Powershell @@ -51,13 +51,13 @@ curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/deb.sh | s *Note*: run powershell as administrator before executing this command. ```bash -iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/windows.ps1 | iex +iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/windows.ps1 | iex ``` ### Docker ```bash -docker run ipinfo/ipinfo:2.6.1 +docker run ipinfo/ipinfo:2.7.0 ``` ### FreeBSD @@ -69,8 +69,8 @@ cd /usr/ports/net/ipinfo-cli && make install clean OR ```bash -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 +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/ipinfo_2.7.0.deb +sudo dpkg -i ipinfo_2.7.0.deb ``` ### Using `go get` @@ -121,12 +121,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.1/ipinfo_2.6.1_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/ipinfo_2.7.0_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.6.1/ipinfo_2.6.1_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/ipinfo_2.7.0_${PLAT}.tar.gz -tar -xvf ipinfo_2.6.1_${PLAT}.tar.gz -mv ipinfo_2.6.1_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_2.7.0_${PLAT}.tar.gz +mv ipinfo_2.7.0_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` diff --git a/debian/changelog b/debian/changelog index 117814dd..126e7f80 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -ipinfo (2.6.1) UNRELEASED; urgency=medium +ipinfo (2.7.0) UNRELEASED; urgency=medium * Initial release. diff --git a/debian/files b/debian/files index 14d3d03e..b62e991f 100644 --- a/debian/files +++ b/debian/files @@ -1 +1 @@ -ipinfo_2.6.1_source.buildinfo utils optional +ipinfo_2.7.0_source.buildinfo utils optional diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index 5f76d490..0a1ec8d3 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.6.1 +VSN=2.7.0 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 07dd3010..6e69776b 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 2.6.1 +Version: 2.7.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index 63ee82ae..5ae9cf0d 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.6.1 +VSN=2.7.0 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 7886a312..87b00b6e 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.1" +var version = "2.7.0" // global flags. var fHelp bool diff --git a/ipinfo/windows.ps1 b/ipinfo/windows.ps1 index 155c84b3..6015cc56 100644 --- a/ipinfo/windows.ps1 +++ b/ipinfo/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "2.6.1" +$VSN = "2.7.0" # build the filename for the Zip archive and exe file $FileName = "ipinfo_$($VSN)_windows_amd64"