use latest autorest core (#2543)
This commit is contained in:
Родитель
9f2608c506
Коммит
c6e3ce4618
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@azure-tools/js-sdk-release-tools",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"start": "node dist/changelogToolCli.js",
|
||||
|
|
|
@ -48,7 +48,7 @@ function changeReadmeMd(packageFolderPath: string) {
|
|||
export async function generateSdkAutomatically(azureSDKForJSRepoRoot: string, absoluteReadmeMd: string, relativeReadmeMd: string, gitCommitId: string, tag?: string, use?: string, useDebugger?: boolean, additionalArgs?: string, outputJson?: any, swaggerRepoUrl?: string) {
|
||||
logger.logGreen(`>>>>>>>>>>>>>>>>>>> Start: "${absoluteReadmeMd}" >>>>>>>>>>>>>>>>>>>>>>>>>`);
|
||||
|
||||
let cmd = `autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=${azureSDKForJSRepoRoot} ${absoluteReadmeMd}`;
|
||||
let cmd = `autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=${azureSDKForJSRepoRoot} ${absoluteReadmeMd}`;
|
||||
|
||||
if (tag) {
|
||||
cmd += ` --tag=${tag}`;
|
||||
|
|
Загрузка…
Ссылка в новой задаче