Skip to content

Commit

Permalink
Version File plugin: respect noVersionPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
KetanReddy committed Aug 20, 2024
1 parent 32f3d78 commit 1b9d551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/version-file/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 1b9d551

Please sign in to comment.