Skip to content

Commit

Permalink
Bump to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ipinfo committed Jul 25, 2023
1 parent 4de7a79 commit 323b49a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [<img src="https://ipinfo.io/static/ipinfo-small.svg" alt="IPinfo" width="24"/>](https://ipinfo.io/) IPinfo `mmdbctl`

`mmdbctl` is an MMDB file management CLI by [IPinfo.io](https://ipinfo.io) that provides you
`mmdbctl` is an MMDB file management CLI by [IPinfo.io](https://ipinfo.io) that provides you
the following features:

- Read data for IPs in an MMDB file.
Expand All @@ -19,28 +19,28 @@ The `mmdbctl` CLI is available for download via multiple mechanisms.
Install the latest `amd64` version:

```bash
curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/macos.sh | sh
curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/macos.sh | sh
```

### Debian / Ubuntu (amd64)

```bash
curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/deb.sh | sh
curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/deb.sh | sh
```

OR

```bash
curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/mmdbctl_1.3.0.deb
sudo dpkg -i mmdbctl_1.3.0.deb
curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/mmdbctl_1.4.0.deb
sudo dpkg -i mmdbctl_1.4.0.deb
```

### Windows Powershell

*Note*: run powershell as administrator before executing this command.
_Note_: run powershell as administrator before executing this command.

```bash
iwr -useb https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/windows.ps1 | iex
iwr -useb https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/windows.ps1 | iex
```

### Using `go install`
Expand Down Expand Up @@ -91,11 +91,11 @@ After choosing a platform `PLAT` from above, run:

```bash
# for Windows, use ".zip" instead of ".tar.gz"
curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/mmdbctl_1.3.0_${PLAT}.tar.gz
curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/mmdbctl_1.4.0_${PLAT}.tar.gz
# OR
wget https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/mmdbctl_1.3.0_${PLAT}.tar.gz
tar -xvf mmdbctl_1.3.0_${PLAT}.tar.gz
mv mmdbctl_1.3.0_${PLAT} /usr/local/bin/mmdbctl
wget https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.0/mmdbctl_1.4.0_${PLAT}.tar.gz
tar -xvf mmdbctl_1.4.0_${PLAT}.tar.gz
mv mmdbctl_1.4.0_${PLAT} /usr/local/bin/mmdbctl
```

### Using `git`
Expand Down Expand Up @@ -370,7 +370,7 @@ shell do that with the `mmdbctl` binary itself (or any of our binaries).
### Disabling Color Output

All our CLIs respect either the `--nocolor` flag or the
[`NO_COLOR`](https://no-color.org/) environment variable to disable color
[`NO_COLOR`](https://no-color.org/) environment variable to disable color
output.

### Color on Windows
Expand Down
2 changes: 1 addition & 1 deletion deb.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VSN=1.3.0
VSN=1.4.0

curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-${VSN}/mmdbctl_${VSN}.deb
sudo dpkg -i mmdbctl_${VSN}.deb
Expand Down
2 changes: 1 addition & 1 deletion dist/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Source: mmdbctl
Section: utils
Version: 1.3.0
Version: 1.4.0
Priority: optional
Maintainer: IPinfo <[email protected]>
Vcs-Git: https://github.com/ipinfo/mmdbctl
Expand Down
2 changes: 1 addition & 1 deletion macos.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VSN=1.3.0
VSN=1.4.0
PLAT=darwin_amd64

curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-${VSN}/mmdbctl_${VSN}_${PLAT}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion windows.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$VSN = "1.3.0"
$VSN = "1.4.0"

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

0 comments on commit 323b49a

Please sign in to comment.