Skip to content

Commit

Permalink
ipinfo 2.0.0 -> 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
UmanShahzad committed May 27, 2021
1 parent 0c1acc6 commit 74b1915
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/deb.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/dist/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: ipinfo
Section: utils
Version: 2.0.0
Version: 2.0.1
Priority: optional
Maintainer: IPinfo <[email protected]>
Vcs-Git: https://github.com/ipinfo/cli
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/macos.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 74b1915

Please sign in to comment.