Skip to content

Commit

Permalink
Merge pull request #508 from SiaFoundation/nate/update-knope
Browse files Browse the repository at this point in the history
Fix missing version variable in commit message
  • Loading branch information
n8maninger authored Nov 20, 2024
2 parents 5c796a3 + 2979d00 commit d0a0432
Showing 1 changed file with 9 additions and 5 deletions.
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" }

[[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

0 comments on commit d0a0432

Please sign in to comment.