Skip to content

Commit 92876ba

Browse files
committed
also fetch master
otherwise git describe --tags fails (because commits have been collapsed)
1 parent 81db1fb commit 92876ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 100
18+
- name: Fetch master
19+
run: git fetch --depth=100 origin master
1820
- name: Fetch tags
1921
run: git fetch --depth=1 --tags origin
2022
- name: Describe current revision with tags

0 commit comments

Comments
 (0)