|
42 | 42 | run: python tools/ci_fetch_deps.py test ${{ github.sha }}
|
43 | 43 | - name: CircuitPython version
|
44 | 44 | run: |
|
45 |
| - git describe --dirty --tags || git log --parents HEAD~4.. |
46 |
| - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 45 | + tools/describe || git log --parents HEAD~4.. |
| 46 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
47 | 47 | - name: Install dependencies
|
48 | 48 | run: |
|
49 | 49 | sudo apt-get update
|
@@ -148,8 +148,8 @@ jobs:
|
148 | 148 | run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
|
149 | 149 | - name: CircuitPython version
|
150 | 150 | run: |
|
151 |
| - git describe --dirty --tags |
152 |
| - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 151 | + tools/describe || git log --parents HEAD~4.. |
| 152 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
153 | 153 | - name: Install dependencies
|
154 | 154 | run: |
|
155 | 155 | brew install gettext
|
@@ -204,8 +204,8 @@ jobs:
|
204 | 204 | run: python tools/ci_fetch_deps.py docs ${{ github.sha }}
|
205 | 205 | - name: CircuitPython version
|
206 | 206 | run: |
|
207 |
| - git describe --dirty --tags |
208 |
| - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 207 | + tools/describe || git log --parents HEAD~4.. |
| 208 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
209 | 209 | - name: Set up Python 3
|
210 | 210 | uses: actions/setup-python@v2
|
211 | 211 | with:
|
@@ -379,7 +379,9 @@ jobs:
|
379 | 379 | - name: Get CP deps
|
380 | 380 | run: python tools/ci_fetch_deps.py ${{ matrix.board }} ${{ github.sha }}
|
381 | 381 | - name: CircuitPython version
|
382 |
| - run: git describe --dirty --tags |
| 382 | + run: | |
| 383 | + tools/describe || git log --parents HEAD~4.. |
| 384 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
383 | 385 | - uses: actions/cache@v2
|
384 | 386 | name: Fetch IDF tool cache
|
385 | 387 | id: idf-cache
|
|
0 commit comments