pub enum ReleaseAction {
CommitAndRelease {
branch: String,
},
CommitBump {
branch: String,
},
TagManifestVersion {
branch: String,
},
ProposeReleasePullRequest {
release_branch: String,
base: String,
},
}Expand description
What a run does once its analysis finds a version to release, or on a dry run what it would have done. Recorded so a dry run can say which path the real run takes, not just which version it computed.
Variants§
CommitAndRelease
Commit the version bump to branch, tag that commit, and publish the
GitHub Release.
CommitBump
Commit the version bump to branch and stop, leaving the tag to a later
ReleasePhase::Tag run.
TagManifestVersion
Tag the version the manifest already holds on branch and publish its
GitHub Release, without bumping it. Only staged extra files, if any, are
committed first.
ProposeReleasePullRequest
Point release_branch at a version-bump commit on top of base and
open or update its pull request into base. Nothing is tagged until the
pull request merges.
Trait Implementations§
Source§impl Clone for ReleaseAction
impl Clone for ReleaseAction
Source§impl Debug for ReleaseAction
impl Debug for ReleaseAction
impl Eq for ReleaseAction
Source§impl PartialEq for ReleaseAction
impl PartialEq for ReleaseAction
impl StructuralPartialEq for ReleaseAction
Auto Trait Implementations§
impl Forget for ReleaseAction
impl Freeze for ReleaseAction
impl Move for ReleaseAction
impl RefUnwindSafe for ReleaseAction
impl Send for ReleaseAction
impl Sync for ReleaseAction
impl Unpin for ReleaseAction
impl UnsafeUnpin for ReleaseAction
impl UnwindSafe for ReleaseAction
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.