From 2ce1701039411648763356cdaa9691274ed34b38 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 5 Aug 2022 23:29:36 +0300 Subject: [PATCH] update to 0.2.6 --- HISTORY.md | 4 ++-- README.md | 3 +-- build_release.sh | 6 ++++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 3adf78d..2c75b83 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,8 +7,8 @@ - ♻️ - Edited ## 0.2.6 - [03/08/2022] -- ➕ - Added enviopment variable for custom password path -- ➕ - Added version to ASCII logo +- ➕ - Added environment variable for custom password file path +- ➕ - Added version in to ASCII logo ## 0.2.5 - [31/07/2022] - ➕ - Added timeout user input diff --git a/README.md b/README.md index ecbf8e4..f61902d 100644 --- a/README.md +++ b/README.md @@ -11,5 +11,4 @@ See [SCREENSHOTS.md](SCREENSHOTS.md). ## 💾 Download -[![Linux x86_64](https://img.shields.io/badge/linux-x86--64-brightgreen?style=for-the-badge&color=55a894)](https://data.iiiypuk.me/pmng/alpha/pmng-0.2.5-linux-x86_64.tar.xz) -[![Linux x86_64 musl](https://img.shields.io/badge/linux-x86--64--musl-brightgreen?style=for-the-badge&color=55a894)](https://data.iiiypuk.me/pmng/alpha/pmng-0.2.5-linux-musl-x86_64.tar.xz) +[![Linux x86_64](https://img.shields.io/badge/linux-x86--64-brightgreen?style=for-the-badge&color=55a894)](https://data.iiiypuk.me/pmng/alpha/pmng-0.2.6-linux-x86_64.tar.xz) diff --git a/build_release.sh b/build_release.sh index 9c785ea..13b0b8c 100755 --- a/build_release.sh +++ b/build_release.sh @@ -15,9 +15,11 @@ libc=$(ldd /bin/ls | grep 'musl' | head -1 | cut -d ' ' -f1) if [ -z $libc ]; then # build libc - crystal build ./src/pmng.cr --release --progress -L/usr/lib/ -o ./dist/pmng-0.2.5-linux-x86_64 + OUTPUT=pmng-$(shards version)-linux-x86_64 + crystal build ./src/pmng.cr --release --progress -o ./dist/$OUTPUT + tar -cJf ./dist/$OUTPUT.tar.xz ./dist/$OUTPUT else # Build musl - crystal build ./src/pmng.cr --release --progress -o ./dist/pmng-0.2.5-linux-musl-x86_64 + crystal build ./src/pmng.cr --release --progress -o ./dist/pmng-$(shards version)-linux-musl-x86_64 fi