semver-common 0.10.2

Common library to use for semantic release core and plugins.
Documentation
1
2
3
4
5
6
7
8
9
use crate::{Alert, run_command};
use r_log::Logger;

/// Pushes any commited changes in git to the authenticated remote repository.
pub fn push(logger: &Logger) -> Result<(), Alert> {
    run_command("git", ["push"], Some(logger))?;
    run_command("git", ["push", "--tags"], Some(logger))?;
    Ok(())
}