diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c9dd6255a..29feec0374 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,10 @@ jobs: token: ${{ steps.generate_token.outputs.token }} - uses: actions/checkout@v2 + # we need to fetch all history and tags + # so we build the proper version + with: + fetch-depth: 0 if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-go@v2