Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit 7004e76

Browse files
authored
Update multi-platform.yml
1 parent 29a0594 commit 7004e76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/multi-platform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,16 @@ jobs:
5454
name: Identify Release Values
5555
if: "${{ github.event.inputs.release-ver}} != 'v' }}"
5656
run: |
57-
GIT_TAG=`git symbolic-ref HEAD -q`
57+
echo "GIT_TAG=$(git symbolic-ref HEAD -q)" >> $GITHUB_ENV
58+
GIT_TAG=``
5859
if [[ $GIT_TAG = refs/tags* ]]
5960
then
6061
echo RELEASE_CHANNEL=stable >> $GITHUB_ENV
6162
else
6263
echo RELEASE_CHANNEL=edge >> $GITHUB_ENV
6364
fi
6465
echo "Release channel determined to be $RELEASE_CHANNEL"
66+
echo "GIT_TAG=$GIT_TAG"
6567
LATEST_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
6668
GIT_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
6769
# GIT_VERSION=$(git describe --tags `git rev-list --tags --max-count=1` --always)

0 commit comments

Comments
 (0)