release-plz 0.3.126

Update version and changelog based on semantic versioning and conventional commits
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::Path;

use anyhow::Context as _;

use crate::config::Config;

pub trait ConfigCommand {
    fn config_path(&self) -> Option<&Path>;

    fn config(&self) -> anyhow::Result<Config> {
        super::parse_config(self.config_path()).context("failed to parse release-plz configuration")
    }
}