From f0ee6d0429a3f2a4269159aa46c3a1b8b92d16d7 Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Mon, 16 Aug 2021 18:40:43 +0500 Subject: [PATCH] version updates. ipinfo 2.0.2 -> 2.1.0. range2cidr 1.0.0 -> 1.1.0. cidr2range 1.0.0 -> 1.1.0. --- README.md | 20 ++++++++++---------- cidr2range/deb.sh | 2 +- cidr2range/dist/DEBIAN/control | 2 +- cidr2range/macos.sh | 2 +- cidr2range/main.go | 2 +- ipinfo/deb.sh | 2 +- ipinfo/dist/DEBIAN/control | 2 +- ipinfo/macos.sh | 2 +- ipinfo/main.go | 2 +- range2cidr/deb.sh | 2 +- range2cidr/macos.sh | 2 +- range2cidr/main.go | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index ffbaeb65..fc616518 100644 --- a/README.md +++ b/README.md @@ -24,20 +24,20 @@ 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.0.2/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.1.0/macos.sh | sh ``` ### Debian / Ubuntu (amd64) ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.2/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.1.0/deb.sh | sh ``` OR ```bash -curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.2/ipinfo_2.0.2.deb -sudo dpkg -i ipinfo_2.0.2.deb +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.1.0/ipinfo_2.1.0.deb +sudo dpkg -i ipinfo_2.1.0.deb ``` ### Using `go get` @@ -91,12 +91,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.0.2/ipinfo_2.0.2_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.1.0/ipinfo_2.1.0_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.2/ipinfo_2.0.2_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.1.0/ipinfo_2.1.0_${PLAT}.tar.gz -tar -xvf ipinfo_2.0.2_${PLAT}.tar.gz -mv ipinfo_2.0.2_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_2.1.0_${PLAT}.tar.gz +mv ipinfo_2.1.0_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` @@ -143,8 +143,8 @@ Currently these subcommands are separately shipped: | CLI | Version | | ---------- | ------- | | grepip | [1.1.0](https://github.com/ipinfo/cli/releases/tag/grepip-1.1.0) | -| cidr2range | [1.0.0](https://github.com/ipinfo/cli/releases/tag/cidr2range-1.0.0) | -| range2cidr | [1.0.0](https://github.com/ipinfo/cli/releases/tag/range2cidr-1.0.0) | +| cidr2range | [1.1.0](https://github.com/ipinfo/cli/releases/tag/cidr2range-1.1.0) | +| range2cidr | [1.1.0](https://github.com/ipinfo/cli/releases/tag/range2cidr-1.1.0) | ## Quick Start diff --git a/cidr2range/deb.sh b/cidr2range/deb.sh index 629d480a..7ec22bb1 100755 --- a/cidr2range/deb.sh +++ b/cidr2range/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.0.0 +VSN=1.1.0 curl -LO https://github.com/ipinfo/cli/releases/download/cidr2range-${VSN}/cidr2range_${VSN}.deb sudo dpkg -i cidr2range_${VSN}.deb diff --git a/cidr2range/dist/DEBIAN/control b/cidr2range/dist/DEBIAN/control index 72c66c56..a98913a5 100644 --- a/cidr2range/dist/DEBIAN/control +++ b/cidr2range/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: cidr2range Section: utils -Version: 1.0.0 +Version: 1.1.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/cidr2range/macos.sh b/cidr2range/macos.sh index 802169fa..e7c8adbb 100755 --- a/cidr2range/macos.sh +++ b/cidr2range/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.0.0 +VSN=1.1.0 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/cli/releases/download/cidr2range-${VSN}/cidr2range_${VSN}_${PLAT}.tar.gz diff --git a/cidr2range/main.go b/cidr2range/main.go index 34dcd99f..7ef774a6 100644 --- a/cidr2range/main.go +++ b/cidr2range/main.go @@ -12,7 +12,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "1.0.0" +var version = "1.1.0" func printHelp() { fmt.Printf( diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index a374442c..84f0dec8 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.0.2 +VSN=2.1.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 196824cc..91a6ace0 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 2.0.2 +Version: 2.1.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index 5e3c5115..5ed70c6a 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.0.2 +VSN=2.1.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 8d77046c..3559eda7 100644 --- a/ipinfo/main.go +++ b/ipinfo/main.go @@ -13,7 +13,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "2.0.2" +var version = "2.1.0" var ii *ipinfo.Client diff --git a/range2cidr/deb.sh b/range2cidr/deb.sh index f34f6c45..0f5f9fa5 100755 --- a/range2cidr/deb.sh +++ b/range2cidr/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.0.0 +VSN=1.1.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/macos.sh b/range2cidr/macos.sh index 5c9208fb..d2c66369 100755 --- a/range2cidr/macos.sh +++ b/range2cidr/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.0.0 +VSN=1.1.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 12aab5a1..e3bf86f1 100644 --- a/range2cidr/main.go +++ b/range2cidr/main.go @@ -12,7 +12,7 @@ import ( ) var progBase = filepath.Base(os.Args[0]) -var version = "1.0.0" +var version = "1.1.0" func printHelp() { fmt.Printf(