We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b3ba57 commit 73bb99cCopy full SHA for 73bb99c
tasks/createTagsTasks.ts
@@ -175,7 +175,8 @@ async function getCommitFromNugetAsync(packageInfo: NugetPackageInfo): Promise<s
175
return null;
176
}
177
178
- const nuspecFile = fs.readFileSync(nuspecFiles[0]).toString();
+ const nuspecFilePath = path.join(packageDir, nuspecFiles[0]);
179
+ const nuspecFile = fs.readFileSync(nuspecFilePath).toString();
180
const results = /commit="(.*)"/.exec(nuspecFile);
181
if (results == null || results.length == 0) {
182
logError('Failed to find commit number from nuspec file');
0 commit comments