We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d37c53 commit c2d1609Copy full SHA for c2d1609
1 file changed
.github/workflows/build.yml
@@ -77,7 +77,7 @@ jobs:
77
id: create-build-number
78
run: |
79
git fetch origin
80
- echo $(git rev-list --count origin/${{ github.ref_name }} ^origin/main)
+ echo $(git rev-list --count origin/main ^origin/${{ github.ref_name }})
81
git checkout -b main origin/main
82
git switch ${{ github.ref_name }}
83
echo $(git rev-list --count ${{ github.ref_name }} ^main)
0 commit comments