[package]
versioned_files = ["Cargo.toml", "Cargo.lock"]
changelog = "CHANGELOG.md"
assets = "artifacts/*"
[[workflows]]
name = "prepare-release"
[[workflows.steps]]
type = "Command"
command = "git switch -c release"
[[workflows.steps]]
type = "PrepareRelease"
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: prepare release $version\""
[[workflows.steps]]
type = "Command"
command = "git push --force --set-upstream origin release"
[[workflows.steps]]
type = "CreatePullRequest"
base = "master"
[workflows.steps.title]
template = "chore: prepare release $version"
[workflows.steps.body]
template = "This PR was created by Knope. Merging it will create a new release.\n\n$changelog"
[[workflows]]
name = "release"
[[workflows.steps]]
type = "Release"
[github]
owner = "hydai"
repo = "lineguard"