From d6d9c4ba28d414c61eb0cb71a24456b07a53c4f0 Mon Sep 17 00:00:00 2001 From: Uman Shahzad Date: Mon, 22 Aug 2022 15:34:06 +0500 Subject: [PATCH] bump to 1.3.0 --- README.md | 18 +++++++++--------- deb.sh | 2 +- dist/DEBIAN/control | 2 +- macos.sh | 2 +- windows.ps1 | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 61d39a4..615cab8 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ 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.2.0/macos.sh | sh +curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/macos.sh | sh ``` ### Debian / Ubuntu (amd64) ```bash -curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.2.0/deb.sh | sh +curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/deb.sh | sh ``` OR ```bash -curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.2.0/mmdbctl_1.2.0.deb -sudo dpkg -i mmdbctl_1.2.0.deb +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 ``` ### Windows Powershell @@ -40,7 +40,7 @@ sudo dpkg -i mmdbctl_1.2.0.deb *Note*: run powershell as administrator before executing this command. ```bash -iwr -useb https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.2.0/windows.ps1 | iex +iwr -useb https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/windows.ps1 | iex ``` ### Using `go install` @@ -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.2.0/mmdbctl_1.2.0_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.3.0/mmdbctl_1.3.0_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.2.0/mmdbctl_1.2.0_${PLAT}.tar.gz -tar -xvf mmdbctl_1.2.0_${PLAT}.tar.gz -mv mmdbctl_1.2.0_${PLAT} /usr/local/bin/mmdbctl +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 ``` ### Using `git` diff --git a/deb.sh b/deb.sh index 5ba7d5b..b64df4e 100644 --- a/deb.sh +++ b/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.2.0 +VSN=1.3.0 curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-${VSN}/mmdbctl_${VSN}.deb sudo dpkg -i mmdbctl_${VSN}.deb diff --git a/dist/DEBIAN/control b/dist/DEBIAN/control index e333982..bd69189 100644 --- a/dist/DEBIAN/control +++ b/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: mmdbctl Section: utils -Version: 1.2.0 +Version: 1.3.0 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/mmdbctl diff --git a/macos.sh b/macos.sh index 0065620..53c2829 100644 --- a/macos.sh +++ b/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.2.0 +VSN=1.3.0 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-${VSN}/mmdbctl_${VSN}_${PLAT}.tar.gz diff --git a/windows.ps1 b/windows.ps1 index 5e49901..34549fe 100644 --- a/windows.ps1 +++ b/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "1.2.0" +$VSN = "1.3.0" # build the filename for the Zip archive and exe file $FileName = "mmdbctl_$($VSN)_windows_amd64"