Skip to content

Commit dad27e3

Browse files
niieanichingor13
andauthored
fix: respect tagSeparator and includeVInTag everywhere (#2283)
fixes #2282 Co-authored-by: Jeff Ching <chingor@google.com>
1 parent acc3242 commit dad27e3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/manifest.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,12 @@ export class Manifest {
687687
`No latest release found for path: ${path}, component: ${component}, but a previous version (${version.toString()}) was specified in the manifest.`
688688
);
689689
releasesByPath[path] = {
690-
tag: new TagName(version, component),
690+
tag: new TagName(
691+
version,
692+
component,
693+
this.repositoryConfig[path].tagSeparator,
694+
this.repositoryConfig[path].includeVInTag
695+
),
691696
sha: '',
692697
notes: '',
693698
};

src/strategies/php-yoshi.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ export class PHPYoshi extends BaseStrategy {
101101
const versionsMap: VersionsMap = new Map();
102102
const directoryVersionContents: Record<string, ComponentInfo> = {};
103103
const component = await this.getComponent();
104-
const newVersionTag = new TagName(newVersion, component);
104+
const newVersionTag = new TagName(
105+
newVersion,
106+
component,
107+
this.tagSeparator,
108+
this.includeVInTag
109+
);
105110
let releaseNotesBody = `## ${newVersion.toString()}`;
106111
for (const directory of topLevelDirectories) {
107112
try {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy