Print git log on tag failure

This commit is contained in:
Scott Shawcroft 2021-11-24 11:24:23 -08:00
parent 2abd51274a
commit a55c2ae8a7
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA

View File

@ -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: |