[package] versioned_files = ["Cargo.toml", "package.json", "pyproject.toml"] [[workflows]] name = "release" [[workflows.steps]] type = "PrepareRelease" [[workflows.steps]] type = "Command" command = 'git commit -m "chore: prepare release $version"' [workflows.steps.variables] "$version" = "Version" [[workflows.steps]] type = "Release" [[workflows.steps]] type = "Command" command = "git push" [[workflows.steps]] type = "Command" command = "git push --tags" [[workflows]] name = "document-change" [[workflows.steps]] type = "CreateChangeFile" [[workflows]] name = "get-version" help_text = "Get the current version of the project" [[workflows.steps]] type = "Command" command = 'echo "$version"' [workflows.steps.variables] "$version" = "Version"