Skip to content

Commit f921844

Browse files
authored
Update patch.yml
1 parent 43ddbe8 commit f921844

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
@@ -13,12 +13,12 @@ jobs:
1313
- uses: actions/checkout@v5
1414
- name: Set current tag
1515
run: |
16-
echo l=$((/usr/bin/git describe --tags --abbrev=0))
16+
l=$((/usr/bin/git describe --tags --abbrev=0))
1717
echo "CURRENT_TAG=$l" >> $GITHUB_ENV
1818
- run: echo "CURRENT_TAG=$CURRENT_TAG"
1919
- name: Get commits count
2020
run: |
21-
echo l=$((/usr/bin/git rev-list --count $CURRENT_TAG..master))
21+
l=$((/usr/bin/git rev-list --count $CURRENT_TAG..master))
2222
echo "COMMIT_COUNT=$l" >> $GITHUB_ENV
2323
- if: ${{env.COMMIT_COUNT >= 5}}
2424
run: echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'

0 commit comments

Comments
 (0)