pub enum ReleasePhase {
All,
Bump,
Tag,
}Expand description
Which part of the release a run performs.
A container action cannot pin a runtime image built from its own release,
because an image tagged with the version only exists once the tag does.
Splitting the release breaks that cycle: Self::Bump lands the version
bump so an image can be built from the released version, and Self::Tag
then pins that image and tags the result. Only the two Dockerfiles differ
between the image’s source and the tagged tree, and they do not affect the
image, so the tag ships a runtime whose reported version is its own.
Variants§
All
Bump, tag, and publish in a single run.
Bump
Commit the version bump and stop, leaving the version untagged.
Tag
Tag and publish the version the manifest already holds, without bumping.
Trait Implementations§
Source§impl Clone for ReleasePhase
impl Clone for ReleasePhase
Source§fn clone(&self) -> ReleasePhase
fn clone(&self) -> ReleasePhase
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 moreimpl Copy for ReleasePhase
Source§impl Debug for ReleasePhase
impl Debug for ReleasePhase
Source§impl Default for ReleasePhase
impl Default for ReleasePhase
Source§fn default() -> ReleasePhase
fn default() -> ReleasePhase
Returns the “default value” for a type. Read more
impl Eq for ReleasePhase
Source§impl PartialEq for ReleasePhase
impl PartialEq for ReleasePhase
impl StructuralPartialEq for ReleasePhase
Auto Trait Implementations§
impl Freeze for ReleasePhase
impl RefUnwindSafe for ReleasePhase
impl Send for ReleasePhase
impl Sync for ReleasePhase
impl Unpin for ReleasePhase
impl UnsafeUnpin for ReleasePhase
impl UnwindSafe for ReleasePhase
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.