Skip to content

Commit

Permalink
chore(knope): include version variable in commit message, version go.…
Browse files Browse the repository at this point in the history
…mod file
  • Loading branch information
n8maninger committed Nov 19, 2024
1 parent 375fb76 commit 7f2ba22
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 7f2ba22

Please sign in to comment.