File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
2020 - id : step1
2121 run : echo "currentTag=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_OUTPUT
2222 - id : step2
23- run : echo "commitCount=`echo $(git rev-list --count $CURRENT_TAG ..master)`" >> $GITHUB_OUTPUT
23+ 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 $outputs.current-tag | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
26+ run : echo "newTag=echo ${{steps.step1. outputs.currentTag}} | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
2727 - name : Environments
2828 run : |
2929 echo "currentTag: ${{steps.step1.outputs.currentTag}}"
You can’t perform that action at this time.
0 commit comments