Skip to content

Commit 1809662

Browse files
authored
Update patch.yml
1 parent 7014ad9 commit 1809662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/patch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
run: echo "commitCount=`echo $(git rev-list --count ${{steps.step1.outputs.currentTag}}..master)`" >> $GITHUB_OUTPUT
2424
- if: ${{steps.step2.outputs.commitCount >= 5}}
2525
id: step3
26-
run: echo "newTag=echo ${{steps.step1.outputs.currentTag}} | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
27-
- name: Environments
26+
run: echo "newTag=`echo $(echo ${{steps.step1.outputs.currentTag}} | awk 'BEGIN{FS=OFS="."} {$3+=1} 1')`" >> $GITHUB_OUTPUT
27+
- name: Outputs
2828
run: |
2929
echo "currentTag: ${{steps.step1.outputs.currentTag}}"
3030
echo "commitCount: ${{steps.step2.outputs.commitCount}}"

0 commit comments

Comments
 (0)