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 5e2501c commit 1e699a1Copy full SHA for 1e699a1
.github/workflows/patch.yml
@@ -12,14 +12,10 @@ jobs:
12
steps:
13
- uses: actions/checkout@v5
14
- name: Set current tag
15
- run: |
16
- l=$(git describe --tags --abbrev=0)
17
- echo "CURRENT_TAG=$l" >> $GITHUB_ENV
+ run: echo "CURRENT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
18
- run: echo "CURRENT_TAG=$CURRENT_TAG"
19
- name: Get commits count
20
21
- l=$(git rev-list --count $CURRENT_TAG..master)
22
- echo "COMMIT_COUNT=$l" >> $GITHUB_ENV
+ run: echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_ENV
23
- if: ${{env.COMMIT_COUNT >= 5}}
24
run: echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
25
0 commit comments