Add note about fetch-depth

This commit is contained in:
CrazyMax 2020-06-15 18:41:56 +02:00
parent c30b077d74
commit aff4fc5a2c
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```
> **IMPORTANT**: note the `fetch-depth: 0` input in `Checkout` step. It is required for the changelog to work correctly.
### Run on new tag
If you want to run GoReleaser only on new tag, you can use this event: