diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 01631a3..30648f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -152,15 +152,21 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 with: - fetch-depth: 50 + # fetch-depth 0 checks out all history for all branches and tags. + # This is needed to get the authors from git. + fetch-depth: 0 - # - name: Downgrade Git version to 2.46.1 - # run: | - # sudo add-apt-repository -y ppa:git-core/ppa - # sudo apt-get update - # sudo apt-get install -y git=2.46.1 - # - name: Verify Git version - # run: git --version + - name: Debug - Display git authors + run: | + git shortlog --summary --email + + - name: Downgrade Git version to 2.46.1 + run: | + sudo add-apt-repository -y ppa:git-core/ppa + sudo apt-get update + sudo apt-get install -y git=2.46.1 + - name: Verify Git version + run: git --version - name: Debug - Display git authors run: |