Skip to content

Commit 85eb6d5

Browse files
committed
xzdvcs
1 parent 9099fd9 commit 85eb6d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
shell: bash
7777
id: create-build-number
7878
run: |
79-
echo $(git rev-list --count ${{ github.ref_name }} ^main)
80-
echo "build-number=$(git rev-list --count ${{ github.ref_name }} ^main)" >> GITHUB_OUTPUT
79+
echo $(git rev-list --count ${{ github.ref_name }}..main)
80+
echo "build-number=$(git rev-list --count ${{ github.ref_name }}..main)" >> GITHUB_OUTPUT
8181
- name: 'Format version'
8282
id: format-version
8383
uses: ./.github/actions/format-version

0 commit comments

Comments
 (0)