use std::{convert::TryInto, process::Command};
use anyhow::{anyhow, bail};
use cargo_metadata::{camino::Utf8Path, Package};
use git_repository as git;
use git_repository::{
bstr::{BStr, ByteSlice},
object,
refs::FullNameRef,
};
use crate::utils::{component_to_bytes, tag_name};
pub mod history;
#[derive(Clone, Debug)]
pub enum PackageChangeKind {
Untagged { wanted_tag_name: String },
ChangedOrNew,
}
pub fn change_since_last_release(package: &Package, ctx: &crate::Context) -> anyhow::Result