diff --git a/.github/workflows/createchangelog.yaml b/.github/workflows/createchangelog.yaml index d40962190b..87e27206bd 100644 --- a/.github/workflows/createchangelog.yaml +++ b/.github/workflows/createchangelog.yaml @@ -11,6 +11,12 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + # Make sure to get latest commits, like the one committed by the previous job in jobs list. + # reference: https://github.com/orgs/community/discussions/110853 + with: + fetch-tags: 'true' + submodules: 'recursive' + ref: ${{ github.ref_name }} - name: Get all releases and update changelog.md file run: | diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 19d06817f2..52709063e4 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -23,6 +23,8 @@ jobs: # Make sure to get latest commits, like the one committed by the previous job in jobs list. # reference: https://github.com/orgs/community/discussions/110853 with: + fetch-tags: 'true' + submodules: 'recursive' ref: ${{ github.ref_name }} - name: Setup Python diff --git a/.github/workflows/pre-release.yaml b/.github/workflows/pre-release.yaml index 26125a0317..eb4cb3951f 100644 --- a/.github/workflows/pre-release.yaml +++ b/.github/workflows/pre-release.yaml @@ -13,6 +13,12 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + # Make sure to get latest commits, like the one committed by the previous job in jobs list. + # reference: https://github.com/orgs/community/discussions/110853 + with: + fetch-tags: 'true' + submodules: 'recursive' + ref: ${{ github.ref_name }} - name: Extract Version from winutil.ps1 id: extract_version