mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 19:59:47 +00:00
Remove missing unshallow steps
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user