Skip to content

Commit 84ef09d

Browse files
committed
fix
1 parent 0fc2a45 commit 84ef09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
id: create-build-number
8181
run: |
8282
git fetch --unshallow --filter=tree:0
83-
build_number=$(git rev-list --count origin/${{ github.head_ref }} ^origin/main)
83+
build_number=$(git rev-list --count origin/${{ github.ref_name }} ^origin/main)
8484
echo "build-number=$build_number" >> $GITHUB_OUTPUT
8585
- name: 'Create pre-release tag'
8686
shell: bash

0 commit comments

Comments
 (0)