Skip to content

Commit 9254c03

Browse files
committed
Add workaround for actions/checkout#290
1 parent 5bb98fa commit 9254c03

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/actions/windows-installer/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ runs:
1919
git
2020
autoconf
2121
automake-wrapper
22+
- name: Fix missing tags
23+
shell: msys2 {0}
24+
run: |
25+
git fetch --tags --force
2226
- name: Generate configure script
2327
shell: msys2 {0}
2428
run: bash autogen.sh

.github/workflows/release-packages.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
- uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
26+
- name: Fix missing tags
27+
run: |
28+
git fetch --tags --force
2629
- uses: msys2/setup-msys2@v2
2730
with:
2831
msystem: ${{matrix.sys}}
@@ -34,7 +37,7 @@ jobs:
3437
- name: Debugging for tags
3538
run: |
3639
git tag
37-
git describe --long
40+
git describe --tags --long
3841
- name: Build MSYS2 ${{matrix.sys}} package
3942
run: |
4043
cd contrib/msys2

0 commit comments

Comments
 (0)