File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,19 @@ on: workflow_dispatch
99jobs :
1010 makepatch :
1111 runs-on : ubuntu-latest
12+ env :
13+ Current : Hello
1214 steps :
1315 - uses : actions/checkout@v5
1416 - name : Set current tag
15- run : echo "CURRENT_TAG=${/usr/bin/git describe --tags --abbrev=0}" >> $GITHUB_ENV
17+ run : |
18+ l=$(/usr/bin/git describe --tags --abbrev=0)
19+ echo "CURRENT_TAG=$l" >> $GITHUB_ENV
1620 - run : echo "CURRENT_TAG=$CURRENT_TAG"
1721 - name : Get commits count
18- run : echo "COMMIT_COUNT=${/usr/bin/git rev-list --count $CURRENT_TAG..master}" >> $GITHUB_ENV
22+ run : |
23+ l=$(/usr/bin/git rev-list --count $CURRENT_TAG..master)
24+ echo "COMMIT_COUNT=l" >> $GITHUB_ENV
1925 - if : ${{env.COMMIT_COUNT >= 5}}
2026 run : echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
2127
You can’t perform that action at this time.
0 commit comments