add Release date file creation to s3 deploy script

This commit is contained in:
aiamnezia 2025-05-24 13:38:00 +04:00
parent 68708114d5
commit 7023b27029

View file

@ -12,7 +12,8 @@ mkdir -p dist
cd dist
echo $VERSION >> VERSION
echo $VERSION > VERSION
curl -s https://api.github.com/repos/amnezia-vpn/amnezia-client/releases/tags/$VERSION | jq -r .published_at > RELEASE_DATE
curl -s https://api.github.com/repos/amnezia-vpn/amnezia-client/releases/tags/$VERSION | jq -r .body | tr -d '\r' > CHANGELOG
if [[ $(cat CHANGELOG) = null ]]; then