pub enum OnExistingRelease {
Skip,
Fail,
}Expand description
What to do when a release already exists for the tag being published.
Variants§
Skip
Leave it alone and report success.
Suits a release whose tag comes from a version in the tree, where rerunning on an unchanged version is routine and means nothing is wrong.
Fail
Fail.
Assets are never replaced automatically, because the existing release may already have been reviewed or published.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnExistingRelease
impl<'de> Deserialize<'de> for OnExistingRelease
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OnExistingRelease
impl RefUnwindSafe for OnExistingRelease
impl Send for OnExistingRelease
impl Sync for OnExistingRelease
impl Unpin for OnExistingRelease
impl UnsafeUnpin for OnExistingRelease
impl UnwindSafe for OnExistingRelease
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