diff --git a/.github/actions/windows-installer/action.yml b/.github/actions/windows-installer/action.yml index 051363e56..1431961e2 100644 --- a/.github/actions/windows-installer/action.yml +++ b/.github/actions/windows-installer/action.yml @@ -19,6 +19,10 @@ runs: git autoconf automake-wrapper + - name: Fix missing tags + shell: msys2 {0} + run: | + git fetch --tags --force - name: Generate configure script shell: msys2 {0} run: bash autogen.sh diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.yml index d832aae7f..bd87ba49d 100644 --- a/.github/workflows/release-packages.yml +++ b/.github/workflows/release-packages.yml @@ -23,6 +23,9 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Fix missing tags + run: | + git fetch --tags --force - uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.sys}} @@ -34,7 +37,7 @@ jobs: - name: Debugging for tags run: | git tag - git describe --long + git describe --tags --long - name: Build MSYS2 ${{matrix.sys}} package run: | cd contrib/msys2