pub struct ReleaseManager {
pub workspace_root: PathBuf,
pub release_dir: PathBuf,
}Expand description
Release operations manager.
Fields§
§workspace_root: PathBufWorkspace root directory.
release_dir: PathBufRelease output directory.
Implementations§
Source§impl ReleaseManager
impl ReleaseManager
Sourcepub fn validate_release(&self) -> Result<(), String>
pub fn validate_release(&self) -> Result<(), String>
Validate that workspace is ready for release.
Checks:
- No uncommitted changes
- All tests pass
- Version is consistent
Sourcepub fn generate_manifest(
&self,
version: SemanticVersion,
artifacts: &[ReleaseArtifact],
) -> String
pub fn generate_manifest( &self, version: SemanticVersion, artifacts: &[ReleaseArtifact], ) -> String
Generate release manifest listing all artifacts.
Auto Trait Implementations§
impl Freeze for ReleaseManager
impl RefUnwindSafe for ReleaseManager
impl Send for ReleaseManager
impl Sync for ReleaseManager
impl Unpin for ReleaseManager
impl UnsafeUnpin for ReleaseManager
impl UnwindSafe for ReleaseManager
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