Skip to content

Commit 669fb56

Browse files
committed
zxvsxsdv
1 parent 482b0b7 commit 669fb56

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
shell: bash
7777
id: create-build-number
7878
run: |
79+
echo $(git rev-list --count origin/${{ github.ref_name }} ^origin/main)
7980
git fetch origin
8081
git checkout -b main origin/main
8182
git switch ${{ github.ref_name }}
@@ -87,7 +88,7 @@ jobs:
8788
with:
8889
version: ${{ steps.versioning.outputs.version }}
8990
patch: ${{ github.run_number }}
90-
build-number: $( git rev-list --count ${{ github.ref_name }} ^main )
91+
build-number: $( git rev-list --count origin/${{ github.ref_name }} ^origin/main )
9192
sha: ${{ github.sha }}]
9293
pre-release-tag: ${{ steps.create-pre-release-tag.outputs.pre-release-tag }}
9394
- name: 'Read versions'

0 commit comments

Comments
 (0)