diff --git a/README.md b/README.md index cbf663cb..0fa915c7 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.7.0/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/macos.sh | sh ``` ### Ubuntu PPA @@ -43,14 +43,14 @@ sudo apt install ipinfo for automatic updates. ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/deb.sh | sh ``` OR ```bash -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 +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/ipinfo_2.8.0.deb +sudo dpkg -i ipinfo_2.8.0.deb ``` ### FreeBSD @@ -71,13 +71,13 @@ makepkg -si *Note*: run powershell as administrator before executing this command. ```bash -iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/windows.ps1 | iex +iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/windows.ps1 | iex ``` ### Docker ```bash -docker run ipinfo/ipinfo:2.7.0 +docker run ipinfo/ipinfo:2.8.0 ``` ### Using `go install` @@ -128,12 +128,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.7.0/ipinfo_2.7.0_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/ipinfo_2.8.0_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.7.0/ipinfo_2.7.0_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.8.0/ipinfo_2.8.0_${PLAT}.tar.gz -tar -xvf ipinfo_2.7.0_${PLAT}.tar.gz -mv ipinfo_2.7.0_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_2.8.0_${PLAT}.tar.gz +mv ipinfo_2.8.0_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` @@ -183,7 +183,7 @@ Currently these subcommands are separately shipped: | prips | [1.0.0](https://github.com/ipinfo/cli/releases/tag/prips-1.0.0) | | cidr2range | [1.2.0](https://github.com/ipinfo/cli/releases/tag/cidr2range-1.2.0) | | cidr2ip | [1.0.0](https://github.com/ipinfo/cli/releases/tag/cidr2ip-1.0.0) | -| range2cidr | [1.2.0](https://github.com/ipinfo/cli/releases/tag/range2cidr-1.2.0) | +| range2cidr | [1.3.0](https://github.com/ipinfo/cli/releases/tag/range2cidr-1.3.0) | | range2ip | [1.0.0](https://github.com/ipinfo/cli/releases/tag/range2ip-1.0.0) | | randip | [1.1.0](https://github.com/ipinfo/cli/releases/tag/randip-1.1.0) | diff --git a/debian/changelog b/debian/changelog index f45e481a..b1cdd1b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ -ipinfo (2.7.0) focal; urgency=medium +ipinfo (2.8.0) focal; urgency=medium - * 2.7.0 release. + * 2.8.0 release. -- umar Mon, 22 Nov 2021 12:32:18 +0500 diff --git a/debian/files b/debian/files index b62e991f..4adb8a9c 100644 --- a/debian/files +++ b/debian/files @@ -1 +1 @@ -ipinfo_2.7.0_source.buildinfo utils optional +ipinfo_2.8.0_source.buildinfo utils optional diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index 0a1ec8d3..1a19f936 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.7.0 +VSN=2.8.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 6e69776b..2a43d2c7 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 2.7.0 +Version: 2.8.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index 5ae9cf0d..542b4b84 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.7.0 +VSN=2.8.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 87b00b6e..affc0f69 100644 --- a/ipinfo/main.go +++ b/ipinfo/main.go @@ -11,7 +11,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "2.7.0" +var version = "2.8.0" // global flags. var fHelp bool diff --git a/ipinfo/windows.ps1 b/ipinfo/windows.ps1 index 6015cc56..f5f67402 100644 --- a/ipinfo/windows.ps1 +++ b/ipinfo/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "2.7.0" +$VSN = "2.8.0" # build the filename for the Zip archive and exe file $FileName = "ipinfo_$($VSN)_windows_amd64" diff --git a/lib/cmd_range2cidr.go b/lib/cmd_range2cidr.go index 90069328..3e903454 100644 --- a/lib/cmd_range2cidr.go +++ b/lib/cmd_range2cidr.go @@ -2,7 +2,6 @@ package lib import ( "bufio" - "errors" "fmt" "io" "os" diff --git a/range2cidr/deb.sh b/range2cidr/deb.sh index 11b3e53f..cdd369de 100755 --- a/range2cidr/deb.sh +++ b/range2cidr/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.2.0 +VSN=1.3.0 curl -LO https://github.com/ipinfo/cli/releases/download/range2cidr-${VSN}/range2cidr_${VSN}.deb sudo dpkg -i range2cidr_${VSN}.deb diff --git a/range2cidr/dist/DEBIAN/control b/range2cidr/dist/DEBIAN/control index dc01e0c7..f465d129 100644 --- a/range2cidr/dist/DEBIAN/control +++ b/range2cidr/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: range2cidr Section: utils -Version: 1.2.0 +Version: 1.3.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/range2cidr/macos.sh b/range2cidr/macos.sh index 0ae5dc87..f832f85c 100755 --- a/range2cidr/macos.sh +++ b/range2cidr/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.2.0 +VSN=1.3.0 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/cli/releases/download/range2cidr-${VSN}/range2cidr_${VSN}_${PLAT}.tar.gz diff --git a/range2cidr/main.go b/range2cidr/main.go index eb519c75..b5be513f 100644 --- a/range2cidr/main.go +++ b/range2cidr/main.go @@ -12,7 +12,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "1.2.0" +var version = "1.3.0" func printHelp() { fmt.Printf( diff --git a/range2cidr/windows.ps1 b/range2cidr/windows.ps1 index 8d008966..10006e24 100644 --- a/range2cidr/windows.ps1 +++ b/range2cidr/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "1.2.0" +$VSN = "1.3.0" # build the filename for the Zip archive and exe file $FileName = "range2cidr_$($VSN)_windows_amd64"