Skip to content

Commit e567ce7

Browse files
committed
Fetch tags for correct __version__
1 parent 60e5428 commit e567ce7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232

3333
- name: Checkout repo
3434
uses: actions/checkout@v2
35+
with:
36+
fetch-depth: 3
37+
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3538

3639
- name: Install dependencies
3740
run: |

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222

2323
- name: Checkout repo
2424
uses: actions/checkout@v2
25+
with:
26+
fetch-depth: 3
27+
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
2528

2629
- name: Install dependencies
2730
run: |

0 commit comments

Comments
 (0)