Skip to content

Commit 82a59a8

Browse files
jimmodpgeorge
authored andcommitted
github/workflows: Fetch full history for mpremote workflow.
Instead of doing the shallow checkout followed by an unshallow-with-tags, just set fetch-depth=0 to get the full history to start with. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 294baf5 commit 82a59a8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/mpremote.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v3
1515
with:
16-
# Version is determined from git,
17-
# should be deep enough to get to latest tag
18-
fetch-depth: '1000'
19-
- run: |
20-
git fetch --prune --unshallow --tags
16+
# Setting this to zero means fetch all history and tags,
17+
# which hatch-vcs can use to discover the version tag.
18+
fetch-depth: 0
2119
- uses: actions/setup-python@v4
2220
- name: Install build tools
2321
run: pip install build

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy