Skip to content

Commit 559efc5

Browse files
authored
Update python-publish.yml
1 parent fac3bf6 commit 559efc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v2
20+
- name: Get history and tags for SCM versioning to work
21+
run: |
22+
git fetch --prune --unshallow
23+
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2024
- name: Set up Python
2125
uses: actions/setup-python@v2
2226
with:

0 commit comments

Comments
 (0)