2023-07-15 16:53:52 -03:00
|
|
|
# Metadata
|
|
|
|
|
2024-04-01 10:01:56 -03:00
|
|
|
GoReleaser creates some metadata files in the `dist` directory before it
|
|
|
|
finishes running.
|
2023-07-15 16:53:52 -03:00
|
|
|
|
2024-07-03 09:31:08 -03:00
|
|
|
You can also set some global defaults that can be used by other features.
|
2023-07-15 16:53:52 -03:00
|
|
|
|
|
|
|
```yaml
|
|
|
|
# .goreleaser.yaml
|
|
|
|
metadata:
|
|
|
|
# Set the modified timestamp on the metadata files.
|
|
|
|
#
|
2024-06-19 11:44:22 -03:00
|
|
|
# Templates: allowed.
|
2023-07-15 16:53:52 -03:00
|
|
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
2024-07-03 09:31:08 -03:00
|
|
|
|
|
|
|
# The maintainers of this software.
|
|
|
|
# Most features will only use the first maintainer defined here.
|
|
|
|
#
|
|
|
|
# This feature is only available in GoReleaser Pro.
|
|
|
|
# Since: v2.1 (pro).
|
|
|
|
# Templates: allowed.
|
|
|
|
maintainers:
|
|
|
|
- "Foo Bar <foo at bar dot com>"
|
|
|
|
|
|
|
|
# SPDX identifier of your app's license.
|
|
|
|
#
|
|
|
|
# This feature is only available in GoReleaser Pro.
|
|
|
|
# Since: v2.1 (pro).
|
|
|
|
# Templates: allowed.
|
|
|
|
license: "MIT"
|
|
|
|
|
|
|
|
# Your homepage.
|
|
|
|
#
|
|
|
|
# This feature is only available in GoReleaser Pro.
|
|
|
|
# Since: v2.1 (pro).
|
|
|
|
# Templates: allowed.
|
|
|
|
homepage: "https://example.com/"
|
|
|
|
|
|
|
|
# Your app's description.
|
|
|
|
# Sometimes also referred as "short description".
|
|
|
|
#
|
|
|
|
# This feature is only available in GoReleaser Pro.
|
|
|
|
# Since: v2.1 (pro).
|
|
|
|
# Templates: allowed.
|
|
|
|
description: "Software to create fast and easy drum rolls."
|
|
|
|
|
|
|
|
# Your app's full description, sometimes also referred to as "long description".
|
|
|
|
#
|
|
|
|
# It can be a string directly, or you can use `from_url` or `from_file` to
|
|
|
|
# source it from somewhere else.
|
|
|
|
#
|
|
|
|
# This feature is only available in GoReleaser Pro.
|
|
|
|
# Since: v2.1 (pro).
|
|
|
|
# Templates: allowed.
|
|
|
|
full_description:
|
|
|
|
# Loads from an URL.
|
|
|
|
from_url:
|
|
|
|
# Templates: allowed.
|
|
|
|
url: https://foo.bar/README.md
|
|
|
|
headers:
|
|
|
|
x-api-token: "${MYCOMPANY_TOKEN}"
|
|
|
|
|
|
|
|
# Loads from a local file.
|
|
|
|
# Overrides `from_url`.
|
|
|
|
from_file:
|
|
|
|
# Templates: allowed.
|
|
|
|
path: ./README.md
|
2023-07-15 16:53:52 -03:00
|
|
|
```
|
2024-07-08 23:30:10 -03:00
|
|
|
|
2024-07-17 10:56:36 -03:00
|
|
|
<!-- md:templates -->
|