File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ jobs:
4444 - name : Determine Tag Name Based on Branch
4545 id : determine_tag
4646 run : |
47- if [[ "${{ github.ref_name }}" == "main" || "${{ github.head_ref }}" == "main" ]]; then
47+ if [[ "${{ github.ref_name }}" == "main" ]]; then
4848 echo "tagname=latest" >> $GITHUB_OUTPUT
49- elif [[ "${{ github.ref_name }}" == "dev" || "${{ github.head_ref }}" == "dev" ]]; then
49+ elif [[ "${{ github.ref_name }}" == "dev" ]]; then
5050 echo "tagname=dev" >> $GITHUB_OUTPUT
51- elif [[ "${{ github.ref_name }}" == "demo" || "${{ github.head_ref }}" == "demo" ]]; then
51+ elif [[ "${{ github.ref_name }}" == "demo"]]; then
5252 echo "tagname=demo" >> $GITHUB_OUTPUT
5353 else
5454 echo "tagname=default" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments