pub struct AppBundleConfig {
pub id: Option<String>,
pub ids: Option<Vec<String>>,
pub name: Option<String>,
pub icon: Option<String>,
pub bundle: Option<String>,
pub extra_files: Option<Vec<ArchiveFileSpec>>,
pub templated_extra_files: Option<Vec<TemplatedExtraFile>>,
pub mod_timestamp: Option<String>,
pub replace: Option<bool>,
pub skip: Option<StringOrBool>,
pub if_condition: Option<String>,
}Fields§
§id: Option<String>Unique identifier for this app bundle config.
ids: Option<Vec<String>>Build IDs to include. Empty means all builds.
name: Option<String>Output .app bundle name (supports templates).
icon: Option<String>Path to .icns icon file for the app bundle (supports templates).
bundle: Option<String>Bundle identifier in reverse-DNS notation (e.g. com.example.myapp). Required.
extra_files: Option<Vec<ArchiveFileSpec>>Additional files to include in the bundle (src/dst/info objects or glob strings).
templated_extra_files: Option<Vec<TemplatedExtraFile>>Extra files whose contents are rendered through the template engine before inclusion.
Unlike extra_files which copy as-is, template variables like {{ .Tag }} are expanded.
GoReleaser Pro feature.
mod_timestamp: Option<String>Output timestamp for reproducible builds.
replace: Option<bool>Remove source archives from artifacts, keeping only the app bundle.
skip: Option<StringOrBool>Skip this app bundle config. Accepts bool or template string.
if_condition: Option<String>Template-conditional: skip this app bundle config if rendered result is “false” or empty (GoReleaser Pro). Render failure hard-errors (not silent-skip).
Trait Implementations§
Source§impl Clone for AppBundleConfig
impl Clone for AppBundleConfig
Source§fn clone(&self) -> AppBundleConfig
fn clone(&self) -> AppBundleConfig
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 AppBundleConfig
impl Debug for AppBundleConfig
Source§impl Default for AppBundleConfig
impl Default for AppBundleConfig
Source§fn default() -> AppBundleConfig
fn default() -> AppBundleConfig
Source§impl<'de> Deserialize<'de> for AppBundleConfigwhere
AppBundleConfig: Default,
impl<'de> Deserialize<'de> for AppBundleConfigwhere
AppBundleConfig: 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 AppBundleConfig
impl JsonSchema for AppBundleConfig
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