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 31aac51 commit a8d9974Copy full SHA for a8d9974
.github/workflows/patch.yml
@@ -19,7 +19,7 @@ jobs:
19
- run: echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_ENV
20
- if: ${{env.COMMIT_COUNT >= 5}}
21
run: |
22
- new=echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
+ new=$((echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'))
23
echo "NEW_TAG=$new" >> $GITHUB_ENV
24
- name: Environments
25
@@ -31,7 +31,7 @@ jobs:
31
32
runs-on: ubuntu-latest
33
34
- if: ${{needs.setup-env.env.COMMIT_COUNT >= 500}}
+ if: ${{needs.setup-env.env.COMMIT_COUNT >= 5}}
35
steps:
36
- uses: actions/checkout@v5
37
with:
0 commit comments