Skip to content

Commit 2498b23

Browse files
authored
Fix create tags on linux (#8267)
2 parents de97257 + 869419a commit 2498b23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/createTagsTasks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ async function getCommitFromNugetAsync(packageInfo: NugetPackageInfo): Promise<s
167167
console.log(`${packageName} version is ${packageVersion}`);
168168

169169
// Nuget package should exist under out/.nuget/ since we have run the install dependencies task.
170-
const packageDir = path.join('out', '.nuget', packageName, packageVersion);
170+
// Package names are always lower case in the .nuget folder.
171+
const packageDir = path.join('out', '.nuget', packageName.toLowerCase(), packageVersion);
171172
const nuspecFiles = fs.readdirSync(packageDir).filter((file) => file.endsWith('.nuspec'));
172173

173174
if (nuspecFiles.length === 0) {

0 commit comments

Comments
 (0)