Skip to content

Commit

Permalink
version updates.
Browse files Browse the repository at this point in the history
ipinfo 2.0.2 -> 2.1.0.
range2cidr 1.0.0 -> 1.1.0.
cidr2range 1.0.0 -> 1.1.0.
  • Loading branch information
UmanShahzad committed Aug 16, 2021
1 parent 3c3cf33 commit f0ee6d0
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cidr2range/deb.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cidr2range/dist/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: cidr2range
Section: utils
Version: 1.0.0
Version: 1.1.0
Priority: optional
Maintainer: IPinfo <[email protected]>
Vcs-Git: https://github.com/ipinfo/cli
Expand Down
2 changes: 1 addition & 1 deletion cidr2range/macos.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cidr2range/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
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.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
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.2
Version: 2.1.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.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
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.2"
var version = "2.1.0"

var ii *ipinfo.Client

Expand Down
2 changes: 1 addition & 1 deletion range2cidr/deb.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion range2cidr/macos.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion range2cidr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f0ee6d0

Please sign in to comment.