0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-24 14:34:39 +03:00
yandex-music-linux/.github/workflows/retrieve_version.sh

13 lines
301 B
Bash
Raw Normal View History

2024-02-02 19:19:20 +03:00
#!/bin/bash
set -e
2024-02-02 19:19:20 +03:00
# get version
2024-02-09 15:07:50 +03:00
VERSION=$(jq -r '.version' ./utility/version_info.json)
2024-02-02 19:19:20 +03:00
release_name="Beta $VERSION"
tag_name="v$VERSION"
#write variables to github env
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "release_name=$release_name" >> $GITHUB_ENV
2024-02-09 17:35:17 +03:00
echo "tag_name=$tag_name" >> $GITHUB_ENV