Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing version variable in commit message #508

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions knope.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[package]
changelog = "CHANGELOG.md"
versioned_files = ["go.mod"]
ignore_go_major_versioning = true

[[workflows]]
name = "document-change"
Expand All @@ -20,6 +22,7 @@ type = "PrepareRelease"
[[workflows.steps]]
type = "Command"
command = "git commit -m \"chore: prepare release $version\""
variables = { "$version" = "Version" }
n8maninger marked this conversation as resolved.
Show resolved Hide resolved

[[workflows.steps]]
type = "Command"
Expand All @@ -40,11 +43,12 @@ variables = { "$version" = "Version" }
template = "This PR was created automatically. Merging it will finalize the changelog for $version\n\n$changelog"
variables = { "$changelog" = "ChangelogEntry", "$version" = "Version" }

[[workflows]]
name = "release"

[[workflows.steps]]
type = "Release"
# Do not enable releases, just changelogs for now.
# [[workflows]]
# name = "release"
#
# [[workflows.steps]]
# type = "Release"

[github]
owner = "SiaFoundation"
Expand Down
Loading