diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fcb56ec..c8c4133 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,10 +22,8 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - # So GoReleaser can generate the changelog properly - - name: Unshallowify the repo clone - run: git fetch --prune --unshallow + with: + fetch-depth: 0 # https://github.community/t5/GitHub-Actions/How-to-get-just-the-tag-name/m-p/32167/highlight/true#M1027 - name: Print Go version and environment