pub struct MetadataConfig {
pub description: Option<String>,
pub homepage: Option<String>,
pub license: Option<String>,
pub maintainers: Option<Vec<String>>,
pub mod_timestamp: Option<String>,
pub full_description: Option<ContentSource>,
pub commit_author: Option<CommitAuthorConfig>,
}Fields§
§description: Option<String>Human-readable project description (exposed as {{ .Metadata.Description }}).
homepage: Option<String>Project homepage URL (exposed as {{ .Metadata.Homepage }}).
license: Option<String>Project license identifier, e.g. “MIT” or “Apache-2.0” (exposed as {{ .Metadata.License }}).
maintainers: Option<Vec<String>>List of project maintainers (exposed as {{ .Metadata.Maintainers }}).
mod_timestamp: Option<String>Global modification timestamp for metadata output files (metadata.json and artifacts.json).
Template string (e.g. “{{ .CommitTimestamp }}”) or unix timestamp.
When set, rendered late in the pipeline and applied as file mtime.
Exposed as {{ .Metadata.ModTimestamp }}.
full_description: Option<ContentSource>Long-form project description (GoReleaser Pro v2.1+). Supports inline
string, from_file, or from_url. Exposed as {{ .Metadata.FullDescription }}.
FromUrl is resolved lazily (requires the release stage); FromFile is resolved
at context-populate time with template-rendered path.
Commit author identity for Pro commit workflows (GoReleaser Pro v2.12+).
Reuses the shared CommitAuthorConfig (name + email + optional signing).
Exposed as {{ .Metadata.CommitAuthor.Name }} / {{ .Metadata.CommitAuthor.Email }}.
Trait Implementations§
Source§impl Clone for MetadataConfig
impl Clone for MetadataConfig
Source§fn clone(&self) -> MetadataConfig
fn clone(&self) -> MetadataConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MetadataConfig
impl Debug for MetadataConfig
Source§impl Default for MetadataConfig
impl Default for MetadataConfig
Source§fn default() -> MetadataConfig
fn default() -> MetadataConfig
Source§impl<'de> Deserialize<'de> for MetadataConfigwhere
MetadataConfig: Default,
impl<'de> Deserialize<'de> for MetadataConfigwhere
MetadataConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MetadataConfig
impl JsonSchema for MetadataConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more