File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,17 @@ on: workflow_dispatch
99jobs :
1010 makepatch :
1111 runs-on : ubuntu-latest
12- env :
13- Current : Hello
1412 steps :
1513 - uses : actions/checkout@v5
1614 - name : Set current tag
17- run : echo "CURRENT_TAG=$((/usr/bin/git describe --tags --abbrev=0))" >> $GITHUB_ENV
15+ run : |
16+ echo l=$((/usr/bin/git describe --tags --abbrev=0))
17+ echo "CURRENT_TAG=$l" >> $GITHUB_ENV
1818 - run : echo "CURRENT_TAG=$CURRENT_TAG"
1919 - name : Get commits count
20- run : echo "COMMIT_COUNT=$((/usr/bin/git rev-list --count $CURRENT_TAG..master))" >> $GITHUB_ENV
20+ run : |
21+ echo l=$((/usr/bin/git rev-list --count $CURRENT_TAG..master))
22+ echo "COMMIT_COUNT=$l" >> $GITHUB_ENV
2123 - if : ${{env.COMMIT_COUNT >= 5}}
2224 run : echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
2325
You can’t perform that action at this time.
0 commit comments