fix(crate): always prefix with 'v' when creating prs, or releases
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -330,7 +330,7 @@ impl RemoteGitEngine for GiteaClient {
|
||||
base: base.into(),
|
||||
body: body.into(),
|
||||
head: "cuddle-please/release".into(),
|
||||
title: format!("chore(release): {}", version),
|
||||
title: format!("chore(release): v{}", version),
|
||||
};
|
||||
|
||||
tracing::trace!(
|
||||
@@ -377,7 +377,7 @@ impl RemoteGitEngine for GiteaClient {
|
||||
|
||||
let request = CreatePullRequestOption {
|
||||
body: body.into(),
|
||||
title: format!("chore(release): {}", version),
|
||||
title: format!("chore(release): v{}", version),
|
||||
};
|
||||
|
||||
tracing::trace!(
|
||||
@@ -429,9 +429,9 @@ impl RemoteGitEngine for GiteaClient {
|
||||
let request = CreateReleaseOption {
|
||||
body: body.into(),
|
||||
draft: false,
|
||||
name: version.into(),
|
||||
name: format!("v{version}"),
|
||||
prerelease,
|
||||
tag_name: version.into(),
|
||||
tag_name: format!("v{version}"),
|
||||
};
|
||||
|
||||
tracing::trace!(
|
||||
|
Reference in New Issue
Block a user