File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ jobs:
1515 with :
1616 fetch-depth : 0
1717
18- - run : |
19- echo "CURRENT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
20- echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_ENV
18+ - run : echo "CURRENT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
19+ - run : echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_ENV
2120 - if : ${{env.COMMIT_COUNT >= 5}}
2221 run : |
2322 new=echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
2423 echo "NEW_TAG=$new" >> $GITHUB_ENV
25- - run : |
24+ - name : Environments
25+ run : |
2626 echo "CURRENT_TAG: $CURRENT_TAG"
2727 echo "NEW_TAG: $NEW_TAG"
2828 echo "COMMIT_COUNT: $COMMIT_COUNT"
You can’t perform that action at this time.
0 commit comments