1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

docs: update deprecated config documentation (#5243)

This pull request updates the documentation to reflect changes in the
`goreleaser-action` version and modifies the `.goreleaser.yaml`
configuration for better clarity.

Documentation updates:

*
[`www/docs/errors/resource-not-accessible-by-integration.md`](diffhunk://#diff-165fd8d8fb477ae98173556cce7fbd52eb9c5fca03b713c7c8d59bc96e46fe50L32-R32):
Updated the `goreleaser-action` version from `v4` to `v6` in the
workflow file examples.
[[1]](diffhunk://#diff-165fd8d8fb477ae98173556cce7fbd52eb9c5fca03b713c7c8d59bc96e46fe50L32-R32)
[[2]](diffhunk://#diff-165fd8d8fb477ae98173556cce7fbd52eb9c5fca03b713c7c8d59bc96e46fe50L49-R49)

Configuration changes:

*
[`www/docs/errors/resource-not-accessible-by-integration.md`](diffhunk://#diff-165fd8d8fb477ae98173556cce7fbd52eb9c5fca03b713c7c8d59bc96e46fe50L63-R63):
Changed the `.goreleaser.yaml` configuration to use `repository` instead
of `tap` for specifying the brew repository.
This commit is contained in:
André Lademann 2024-11-04 18:12:48 +01:00 committed by GitHub
parent a8315bca8f
commit 973dde6879
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ You'll need to add it as secret and pass it to the action, for instance:
```yaml
# .github/workflows/release.yaml
# ...
- uses: goreleaser/goreleaser-action@v4
- uses: goreleaser/goreleaser-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
# ...
@ -46,7 +46,7 @@ We would need to change the workflow file:
```yaml
# .github/workflows/release.yaml
# ...
- uses: goreleaser/goreleaser-action@v4
- uses: goreleaser/goreleaser-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
@ -60,7 +60,7 @@ And also the `.goreleaser.yaml` file:
# ...
brews:
- name: myproject
tap:
repository:
owner: user
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"