From 2979d004dcbb8d2e19b52b6174e4cc9614b2ee47 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 19 Nov 2024 09:55:58 -0800 Subject: [PATCH] chore(knope): include version variable in commit message, version go.mod file --- knope.toml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/knope.toml b/knope.toml index d6bd8754..47b3be0c 100644 --- a/knope.toml +++ b/knope.toml @@ -1,5 +1,7 @@ [package] changelog = "CHANGELOG.md" +versioned_files = ["go.mod"] +ignore_go_major_versioning = true [[workflows]] name = "document-change" @@ -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" @@ -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"