diff --git a/README.md b/README.md index 1b2dd091..8d83b77a 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,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.0/macos.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.1/macos.sh | sh ``` ### Debian / Ubuntu (amd64) ```bash -curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.0/deb.sh | sh +curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.1/deb.sh | sh ``` OR ```bash -curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.0/ipinfo_2.0.0.deb -sudo dpkg -i ipinfo_2.0.0.deb +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.1/ipinfo_2.0.1.deb +sudo dpkg -i ipinfo_2.0.1.deb ``` ### Using `go get` @@ -92,12 +92,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.0/ipinfo_2.0.0_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.1/ipinfo_2.0.1_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.0/ipinfo_2.0.0_${PLAT}.tar.gz +wget https://github.com/ipinfo/cli/releases/download/ipinfo-2.0.1/ipinfo_2.0.1_${PLAT}.tar.gz -tar -xvf ipinfo_2.0.0_${PLAT}.tar.gz -mv ipinfo_2.0.0_${PLAT} /usr/local/bin/ipinfo +tar -xvf ipinfo_2.0.1_${PLAT}.tar.gz +mv ipinfo_2.0.1_${PLAT} /usr/local/bin/ipinfo ``` ### Using `git` diff --git a/ipinfo/deb.sh b/ipinfo/deb.sh index 17203ae2..3c502a29 100755 --- a/ipinfo/deb.sh +++ b/ipinfo/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.0.0 +VSN=2.0.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 9a2008d1..49e6ac34 100644 --- a/ipinfo/dist/DEBIAN/control +++ b/ipinfo/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: ipinfo Section: utils -Version: 2.0.0 +Version: 2.0.1 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/cli diff --git a/ipinfo/macos.sh b/ipinfo/macos.sh index 20c37106..49c0eb94 100755 --- a/ipinfo/macos.sh +++ b/ipinfo/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=2.0.0 +VSN=2.0.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 888aa0f4..36cc8f98 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.0" +var version = "2.0.1" var ii *ipinfo.Client