Skip to content

Commit

Permalink
bump ipinfo from 2.6.1 to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UmanShahzad committed Dec 8, 2021
1 parent 05602e8 commit 478c5be
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -43,21 +43,21 @@ 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

*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
Expand All @@ -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`
Expand Down Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipinfo (2.6.1) UNRELEASED; urgency=medium
ipinfo (2.7.0) UNRELEASED; urgency=medium

* Initial release.

Expand Down
2 changes: 1 addition & 1 deletion debian/files
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ipinfo_2.6.1_source.buildinfo utils optional
ipinfo_2.7.0_source.buildinfo utils optional
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.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
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.6.1
Version: 2.7.0
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.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
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ipinfo/windows.ps1
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 478c5be

Please sign in to comment.