Skip to content

Commit 9ac5f84

Browse files
authored
Fix: failed to get package path (#9879)
* fix * bump version
1 parent 433e9e5 commit 9ac5f84

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tools/js-sdk-release-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/js-sdk-release-tools",
3-
"version": "2.7.20",
3+
"version": "2.7.21",
44
"description": "",
55
"files": [
66
"dist"

tools/js-sdk-release-tools/src/llc/generateRLCInPipeline/generateRLCInPipeline.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ export async function generateRLCInPipeline(options: {
7777
logger.info(`Start to run command: '${scriptCommand}'`);
7878
execSync(scriptCommand, {stdio: 'inherit'});
7979
logger.info("Generated code by tsp-client successfully.");
80-
}
80+
}
81+
packagePath = generatedPackageDir;
82+
relativePackagePath = path.relative(options.sdkRepo, packagePath);
8183
}
8284
} else {
8385
logger.info(`Start to generate SDK from '${options.readmeMd}'.`);

0 commit comments

Comments
 (0)