Remove missing unshallow steps

This commit is contained in:
CrazyMax 2020-06-15 18:36:44 +02:00
parent 3b7a8e97ab
commit c30b077d74
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
3 changed files with 6 additions and 11 deletions

View File

@ -29,9 +29,8 @@ jobs:
- -
name: Checkout name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- with:
name: Unshallow fetch-depth: 0
run: git fetch --prune --unshallow
- -
name: Set up Go name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
@ -63,9 +62,8 @@ jobs:
- -
name: Checkout name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- with:
name: Unshallow fetch-depth: 0
run: git fetch --prune --unshallow
- -
name: Set up Go name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2

View File

@ -25,9 +25,8 @@ jobs:
- -
name: Checkout name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- with:
name: Unshallow fetch-depth: 0
run: git fetch --prune --unshallow
- -
name: Install name: Install
run: yarn install run: yarn install

View File

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