diff --git a/src/manifest.ts b/src/manifest.ts index ec227dc6c..5226ac21f 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -687,7 +687,12 @@ export class Manifest { `No latest release found for path: ${path}, component: ${component}, but a previous version (${version.toString()}) was specified in the manifest.` ); releasesByPath[path] = { - tag: new TagName(version, component), + tag: new TagName( + version, + component, + this.repositoryConfig[path].tagSeparator, + this.repositoryConfig[path].includeVInTag + ), sha: '', notes: '', }; diff --git a/src/strategies/php-yoshi.ts b/src/strategies/php-yoshi.ts index ed31687b9..8bd1bfde6 100644 --- a/src/strategies/php-yoshi.ts +++ b/src/strategies/php-yoshi.ts @@ -101,7 +101,12 @@ export class PHPYoshi extends BaseStrategy { const versionsMap: VersionsMap = new Map(); const directoryVersionContents: Record = {}; const component = await this.getComponent(); - const newVersionTag = new TagName(newVersion, component); + const newVersionTag = new TagName( + newVersion, + component, + this.tagSeparator, + this.includeVInTag + ); let releaseNotesBody = `## ${newVersion.toString()}`; for (const directory of topLevelDirectories) { try {