This commit is contained in:
CrazyMax 2020-01-19 21:52:29 +01:00
parent f2f3843e80
commit 64e6378200
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 11 additions and 3 deletions

View File

@ -26,7 +26,10 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
- -
name: Set up Go name: Set up Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1

View File

@ -30,7 +30,10 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
- -
name: Set up Go name: Set up Go
uses: actions/setup-go@v1 uses: actions/setup-go@v1
@ -47,7 +50,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
``` ```
> If you want to run GoReleaser only on new tag, check [this comment](https://github.com/goreleaser/goreleaser-action/issues/61#issuecomment-569286582) > **IMPORTANT**: note the `Unshallow` step. It is required for the changelog to work correctly.
> If you want to run GoReleaser only on new tag, check [this comment](https://github.com/goreleaser/goreleaser-action/issues/61#issuecomment-569286582).
## Customizing ## Customizing