|
38 | 38 | run: python tools/ci_fetch_deps.py test ${{ github.sha }} |
39 | 39 | - name: CircuitPython version |
40 | 40 | run: | |
41 | | - git describe --dirty --tags || git log --parents HEAD~4.. |
42 | | - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 41 | + tools/describe || git log --parents HEAD~4.. |
| 42 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
43 | 43 | - name: Install dependencies |
44 | 44 | run: | |
45 | 45 | sudo apt-get update |
@@ -144,8 +144,8 @@ jobs: |
144 | 144 | run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }} |
145 | 145 | - name: CircuitPython version |
146 | 146 | run: | |
147 | | - git describe --dirty --tags |
148 | | - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 147 | + tools/describe || git log --parents HEAD~4.. |
| 148 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
149 | 149 | - name: Install dependencies |
150 | 150 | run: | |
151 | 151 | brew install gettext |
@@ -200,8 +200,8 @@ jobs: |
200 | 200 | run: python tools/ci_fetch_deps.py docs ${{ github.sha }} |
201 | 201 | - name: CircuitPython version |
202 | 202 | run: | |
203 | | - git describe --dirty --tags |
204 | | - echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags) |
| 203 | + tools/describe || git log --parents HEAD~4.. |
| 204 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
205 | 205 | - name: Set up Python 3 |
206 | 206 | uses: actions/setup-python@v2 |
207 | 207 | with: |
@@ -375,7 +375,9 @@ jobs: |
375 | 375 | - name: Get CP deps |
376 | 376 | run: python tools/ci_fetch_deps.py ${{ matrix.board }} ${{ github.sha }} |
377 | 377 | - name: CircuitPython version |
378 | | - run: git describe --dirty --tags |
| 378 | + run: | |
| 379 | + tools/describe || git log --parents HEAD~4.. |
| 380 | + echo >>$GITHUB_ENV CP_VERSION=$(tools/describe) |
379 | 381 | - uses: actions/cache@v2 |
380 | 382 | name: Fetch IDF tool cache |
381 | 383 | id: idf-cache |
|
0 commit comments