Skip to content

Commit 2dfd25d

Browse files
committed
Add workaround for actions/checkout#290
1 parent 016164d commit 2dfd25d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ runs:
1919
git
2020
autoconf
2121
automake-wrapper
22+
- name: Fix missing tags
23+
run: |
24+
git fetch --tags --force
2225
- name: Generate configure script
2326
shell: msys2 {0}
2427
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)