pub enum SkipPushConfig {
Auto,
Bool(bool),
Template(String),
}Expand description
skip_push can be "auto" (skip for prereleases), a boolean, or a template string.
GoReleaser accepts template expressions like "{{ if .IsSnapshot }}true{{ end }}".
Variants§
Auto
Bool(bool)
Template(String)
Arbitrary template string — rendered at runtime, truthy result means skip push.
Trait Implementations§
Source§impl Clone for SkipPushConfig
impl Clone for SkipPushConfig
Source§fn clone(&self) -> SkipPushConfig
fn clone(&self) -> SkipPushConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkipPushConfig
impl Debug for SkipPushConfig
Source§impl<'de> Deserialize<'de> for SkipPushConfig
impl<'de> Deserialize<'de> for SkipPushConfig
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SkipPushConfig
impl PartialEq for SkipPushConfig
Source§fn eq(&self, other: &SkipPushConfig) -> bool
fn eq(&self, other: &SkipPushConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SkipPushConfig
impl Serialize for SkipPushConfig
impl Eq for SkipPushConfig
impl StructuralPartialEq for SkipPushConfig
Auto Trait Implementations§
impl Freeze for SkipPushConfig
impl RefUnwindSafe for SkipPushConfig
impl Send for SkipPushConfig
impl Sync for SkipPushConfig
impl Unpin for SkipPushConfig
impl UnsafeUnpin for SkipPushConfig
impl UnwindSafe for SkipPushConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.