update to 0.2.6

This commit is contained in:
Alexander Popov 2022-08-05 23:29:36 +03:00
parent 068c3a48f4
commit 2ce1701039
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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)

View File

@ -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