From 1b9d551371e9fc2e56b0daa92e7103d618f5b390 Mon Sep 17 00:00:00 2001 From: Ketan Reddy Date: Tue, 20 Aug 2024 14:37:41 -0700 Subject: [PATCH] Version File plugin: respect noVersionPrefix --- plugins/version-file/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/version-file/src/index.ts b/plugins/version-file/src/index.ts index 853d67766..60f8bef45 100644 --- a/plugins/version-file/src/index.ts +++ b/plugins/version-file/src/index.ts @@ -70,7 +70,7 @@ export default class VersionFilePlugin implements IPlugin { /** Release script location */ readonly publishScript: string | undefined - /** */ + /** Args to pass to the release script based on release type */ readonly publishScriptReleaseTypeArgs: ReleaseTypeArgs; /** Initialize the plugin with it's options */ @@ -123,7 +123,7 @@ export default class VersionFilePlugin implements IPlugin { await execPromise("git", ["commit", "-am", `"Bump version to: v${newVersion} [skip ci]"`]); await execPromise("git", [ "tag", - `v${newVersion}` + auto.prefixRelease(newVersion) ]); auto.logger.verbose.info("Successfully versioned repo"); } else {