Print git log on tag failure
This commit is contained in:
parent
2abd51274a
commit
a55c2ae8a7
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
run: python tools/ci_fetch_deps.py test ${{ github.ref }}
|
||||
- name: CircuitPython version
|
||||
run: |
|
||||
git describe --dirty --tags
|
||||
git describe --dirty --tags || git log --parents HEAD~4..
|
||||
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user