diff --git a/.github/workflows/build_impl.yml b/.github/workflows/build_impl.yml index c9db2392..31775539 100644 --- a/.github/workflows/build_impl.yml +++ b/.github/workflows/build_impl.yml @@ -77,6 +77,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + # We need to fetch tags to have correct version in the release + # The workaround is based on https://github.com/actions/checkout/issues/1467 + fetch-tags: true + ref: ${{ github.ref }} - name: Prepare runner uses: ./.github/actions/prepare_runner