1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-07 13:31:37 +02:00

docs: unshallow action (#1610)

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker 2020-06-16 09:37:11 -03:00 committed by GitHub
parent 3e9fdf3705
commit 54d1ca1d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 9 deletions

View File

@ -15,9 +15,8 @@ jobs:
-
name: Checkout
uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
with:
fetch-depth: 0
-
name: Set up Snapcraft
run: |

View File

@ -28,9 +28,8 @@ jobs:
-
name: Checkout
uses: actions/checkout@v2
-
name: Unshallow
run: git fetch --prune --unshallow
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
@ -47,7 +46,7 @@ jobs:
```
!!! info
Note the `Unshallow` workflow step. It is required for the changelog to work correctly.
Note the `fetch-depth: 0` option on the `Checkout` workflow step. It is required for the change log to work correctly.
### Run on new tag
@ -111,7 +110,7 @@ signs:
## Customizing
### inputs
### Inputs
Following inputs can be used as `step.with` keys
@ -121,7 +120,7 @@ Following inputs can be used as `step.with` keys
| `args` | String | | Arguments to pass to GoReleaser |
| `workdir` | String | `.` | Working directory (below repository root) |
### environment variables
### Environment Variables
Following environment variables can be used as `step.env` keys