Skip to content

Commit a55c2ae

Browse files
committed
Print git log on tag failure
1 parent 2abd512 commit a55c2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: python tools/ci_fetch_deps.py test ${{ github.ref }}
3939
- name: CircuitPython version
4040
run: |
41-
git describe --dirty --tags
41+
git describe --dirty --tags || git log --parents HEAD~4..
4242
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
4343
- name: Install dependencies
4444
run: |

0 commit comments

Comments
 (0)