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

Commit 9bb794a

Browse files
authored
Update multi-platform.yml
1 parent 7004e76 commit 9bb794a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/multi-platform.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ jobs:
5454
name: Identify Release Values
5555
if: "${{ github.event.inputs.release-ver}} != 'v' }}"
5656
run: |
57-
echo "GIT_TAG=$(git symbolic-ref HEAD -q)" >> $GITHUB_ENV
58-
GIT_TAG=``
59-
if [[ $GIT_TAG = refs/tags* ]]
57+
# echo "GIT_TAG=$(git symbolic-ref HEAD -q)" >> $GITHUB_ENV
58+
echo "GIT_REF=$GIT_REF"
59+
if [[ $GIT_REF = refs/tags* ]]
6060
then
6161
echo RELEASE_CHANNEL=stable >> $GITHUB_ENV
6262
else
@@ -90,7 +90,6 @@ jobs:
9090
tags: |
9191
type=raw,value=${{env.RELEASE_CHANNEL}}-{{sha}}
9292
type=semver,pattern={{version}},value=${{env.GIT_STRIPPED_VERSION}}
93-
type=raw,pattern={{version}},value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}}
9493
type=raw,value=${{env.RELEASE_CHANNEL}}-{{tag}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}
9594
type=raw,value=${{env.RELEASE_CHANNEL}}-latest
9695
type=raw,value=${{env.RELEASE_CHANNEL}}-${{env.GIT_VERSION}},enable=${{ startsWith(github.ref, 'refs/tags/v') }}

0 commit comments

Comments
 (0)