diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d9bca..0588a3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -# 1.4.5 +# 1.4.6 +- [#39](https://github.com/ipinfo/mmdbctl/pull/39) Switch to "github.com/edsrzf/mmap-go" for cross-platform mmap implementation (to make Windows builds work again) - [#37](https://github.com/ipinfo/mmdbctl/pull/37) `import`: JSON input processing supports `--fields` and `--fields-from-header` flags - [#30](https://github.com/ipinfo/mmdbctl/pull/30) added type sizes info found within the data section) - [#28](https://github.com/ipinfo/mmdbctl/pull/28) added low-level mmdb data to the metadata output diff --git a/README.md b/README.md index fd34dcc..d26cfa1 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ curl -Ls https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/deb.s OR ```bash -curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/mmdbctl_1.4.4.deb +curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/mmdbctl_1.4.6.deb sudo dpkg -i mmdbctl_1.4.5.deb ``` @@ -91,9 +91,9 @@ 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.4.5/mmdbctl_1.4.4_${PLAT}.tar.gz +curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/mmdbctl_1.4.6_${PLAT}.tar.gz # OR -wget https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/mmdbctl_1.4.4_${PLAT}.tar.gz +wget https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-1.4.5/mmdbctl_1.4.6_${PLAT}.tar.gz tar -xvf mmdbctl_1.4.5_${PLAT}.tar.gz mv mmdbctl_1.4.5_${PLAT} /usr/local/bin/mmdbctl ``` diff --git a/deb.sh b/deb.sh index a0ab200..6715ec8 100644 --- a/deb.sh +++ b/deb.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.4.5 +VSN=1.4.6 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 a2ab286..06f131b 100644 --- a/dist/DEBIAN/control +++ b/dist/DEBIAN/control @@ -1,6 +1,6 @@ Source: mmdbctl Section: utils -Version: 1.4.5 +Version: 1.4.6 Priority: optional Maintainer: IPinfo Vcs-Git: https://github.com/ipinfo/mmdbctl diff --git a/macos.sh b/macos.sh index d1b10df..d27289d 100644 --- a/macos.sh +++ b/macos.sh @@ -1,6 +1,6 @@ #!/bin/sh -VSN=1.4.5 +VSN=1.4.6 PLAT=darwin_amd64 curl -LO https://github.com/ipinfo/mmdbctl/releases/download/mmdbctl-${VSN}/mmdbctl_${VSN}_${PLAT}.tar.gz diff --git a/scripts/prepare-release.sh b/scripts/prepare-release.sh index e4ee204..2ef14cd 100755 --- a/scripts/prepare-release.sh +++ b/scripts/prepare-release.sh @@ -55,5 +55,5 @@ mv CHANGELOG.md.new CHANGELOG.md rm $CHANGES # Update README with new version -cat README.md | sed "s/${LATEST_RELEASE_SEMVER}/${VSN}/" > README.md.new +cat README.md | sed "s/${LATEST_RELEASE_SEMVER}/${VSN}/g" > README.md.new mv README.md.new README.md \ No newline at end of file diff --git a/windows.ps1 b/windows.ps1 index c4d216b..1947bdc 100644 --- a/windows.ps1 +++ b/windows.ps1 @@ -1,4 +1,4 @@ -$VSN = "1.4.5" +$VSN = "1.4.6" # build the filename for the Zip archive and exe file $FileName = "mmdbctl_$($VSN)_windows_amd64"