Skip to content

Commit

Permalink
release 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UmanShahzad committed Jan 1, 2024
1 parent 023c10e commit c28283a
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 21 deletions.
22 changes: 11 additions & 11 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-3.2.0/macos.sh | sh
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/macos.sh | sh
```

### Ubuntu PPA
Expand All @@ -43,14 +43,14 @@ _Note_: this is a one-time installation; updates are not automatic. Use the PPA
for automatic updates.

```bash
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/deb.sh | sh
curl -Ls https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/deb.sh | sh
```

OR

```bash
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0.deb
sudo dpkg -i ipinfo_3.2.0.deb
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0.deb
sudo dpkg -i ipinfo_3.3.0.deb
```

### FreeBSD
Expand All @@ -71,7 +71,7 @@ makepkg -si
_Note_: run powershell as administrator before executing this command.

```bash
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/windows.ps1 | iex
iwr -useb https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/windows.ps1 | iex
```

### Scoop
Expand All @@ -83,15 +83,15 @@ scoop install ipinfo-cli
### Docker

```bash
docker run --rm -it ipinfo/ipinfo:3.2.0
docker run --rm -it ipinfo/ipinfo:3.3.0
```

To save the CLI's config, add `-v "/path_to_config:/root/.config/ipinfo"`. For
example, the following command saves the config to the `ipinfo` directory in
the current working directory.

```bash
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.2.0
docker run --rm -it -v "$PWD/ipinfo:/root/.config/ipinfo" ipinfo/ipinfo:3.3.0
```

### Using `go install`
Expand Down Expand Up @@ -142,12 +142,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-3.2.0/ipinfo_3.2.0_${PLAT}.tar.gz
curl -LO https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0_${PLAT}.tar.gz
# OR
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.2.0/ipinfo_3.2.0_${PLAT}.tar.gz
wget https://github.com/ipinfo/cli/releases/download/ipinfo-3.3.0/ipinfo_3.3.0_${PLAT}.tar.gz

tar -xvf ipinfo_3.2.0_${PLAT}.tar.gz
mv ipinfo_3.2.0_${PLAT} /usr/local/bin/ipinfo
tar -xvf ipinfo_3.3.0_${PLAT}.tar.gz
mv ipinfo_3.3.0_${PLAT} /usr/local/bin/ipinfo
```

### Using `git`
Expand Down
4 changes: 2 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ipinfo (3.2.0) focal; urgency=medium
ipinfo (3.3.0) focal; urgency=medium

* 3.2.0 release.
* 3.3.0 release.

-- usama <[email protected]> Mon, 07 Aug 2023 12:36:18 +0500
2 changes: 1 addition & 1 deletion debian/files
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ipinfo_3.2.0_source.buildinfo utils optional
ipinfo_3.3.0_source.buildinfo utils optional
4 changes: 2 additions & 2 deletions ipinfo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 3.2.0
# 3.3.0

- Support CIDRs & Ranges in `grepip`.
- New subcommand `matchip` which helps to grep for IP CIDRs/Ranges that
Expand All @@ -16,7 +16,7 @@
- [#185](https://github.com/ipinfo/cli/pull/185)
- [#190](https://github.com/ipinfo/cli/pull/190)

# 3.2.0
# 3.3.0

* `ipinfo tool prefix` introduced with some misc. prefix tools. Currently supports following subcommands:
- `addr` returns the base IP address of a prefix.
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=3.2.0
VSN=3.3.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: 3.2.0
Version: 3.3.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=3.2.0
VSN=3.3.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 = "3.2.0"
var version = "3.3.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 = "3.2.0"
$VSN = "3.3.0"

# build the filename for the Zip archive and exe file
$FileName = "ipinfo_$($VSN)_windows_amd64"
Expand Down

0 comments on commit c28283a

Please sign in to comment.