Skip to content

Commit 723f483

Browse files
authored
Update patch.yml
1 parent b3b9ec9 commit 723f483

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
@@ -12,10 +12,10 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v5
1414
- name: Set current tag
15-
run: echo "CURRENT_TAG=${git describe --tags --abbrev=0}" >> $GITHUB_ENV
15+
run: echo "CURRENT_TAG=${/usr/bin/git describe --tags --abbrev=0}" >> $GITHUB_ENV
1616
- run: echo "CURRENT_TAG=$CURRENT_TAG"
1717
- name: Get commits count
18-
run: echo "COMMIT_COUNT=${git rev-list --count $CURRENT_TAG..master}" >> $GITHUB_ENV
18+
run: echo "COMMIT_COUNT=${/usr/bin/git rev-list --count $CURRENT_TAG..master}" >> $GITHUB_ENV
1919
- if: ${{env.COMMIT_COUNT >= 5}}
2020
run: echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
2121

0 commit comments

Comments
 (0)