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