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
2024-02-03 12:15:40 +03:00

11 lines
283 B
Bash

#!/bin/bash
# get version
VERSION=$(jq -r '.version' version_info.json)
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
echo "tag_name=$tag_name" >> $GITHUB_ENV