diff --git a/Cargo.toml b/Cargo.toml index e97c76cb..a23ddd6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,8 @@ nightly = "nightly-2024-11-22" [workspace.metadata.spellcheck] config = "scripts/spellcheck.toml" + +[workspace.metadata.release] +pre-release-commit-message = "Publish {{crate_name}} v{{version}}" +tag-message = "Publish {{crate_name}} v{{version}}" +consolidate-commits = false diff --git a/scripts/rust/publish.mjs b/scripts/rust/publish.mjs index 28bd91b8..7141f9e6 100644 --- a/scripts/rust/publish.mjs +++ b/scripts/rust/publish.mjs @@ -16,7 +16,7 @@ cd(path.join(workingDirectory, folder)); const packageToml = getCargo(folder).package; const oldVersion = packageToml.version; const packageName = packageToml.name; -const tagName = path.basename(folder); +const tagName = packageName.replace(/spl-/, ''); // Publish the new version, commit the repo change, tag it, and push it all. const releaseArgs = dryRun