We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d43124 commit 5e2501cCopy full SHA for 5e2501c
.github/workflows/patch.yml
@@ -13,12 +13,12 @@ jobs:
13
- uses: actions/checkout@v5
14
- name: Set current tag
15
run: |
16
- l=${{/usr/bin/git describe --tags --abbrev=0}}
+ l=$(git describe --tags --abbrev=0)
17
echo "CURRENT_TAG=$l" >> $GITHUB_ENV
18
- run: echo "CURRENT_TAG=$CURRENT_TAG"
19
- name: Get commits count
20
21
- l=${{/usr/bin/git rev-list --count $CURRENT_TAG..master}}
+ l=$(git rev-list --count $CURRENT_TAG..master)
22
echo "COMMIT_COUNT=$l" >> $GITHUB_ENV
23
- if: ${{env.COMMIT_COUNT >= 5}}
24
run: echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
0 commit comments