1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

25 lines
780 B
Markdown
Raw Normal View History

2021-05-26 19:08:46 -03:00
# Includes
!!! success "GoReleaser Pro"
Includes is a [GoReleaser Pro feature](/pro/).
2021-05-26 19:08:46 -03:00
GoReleaser allows you to include other files from an URL or in the current filesystem.
Files are included recursively in the order they are declared.
```yaml
# .goreleaser.yaml
2021-05-26 19:08:46 -03:00
includes:
- from_file:
path: ./config/goreleaser.yaml
2021-05-26 19:08:46 -03:00
- from_url:
url: https://raw.githubusercontent.com/goreleaser/goreleaser/main/.goreleaser.yaml
- from_url:
url: caarlos0/goreleaserfiles/main/packages.yml # the https://raw.githubusercontent.com/ prefix may be ommited
2021-05-26 19:08:46 -03:00
- from_url:
url: https://api.mycompany.com/configs/goreleaser.yaml
2021-05-26 19:08:46 -03:00
headers:
# header values are expanded in case they are environment variables
x-api-token: "${MYCOMPANY_TOKEN}"
```