diff --git a/package.json b/package.json index a6f9c69e..d20f730d 100644 --- a/package.json +++ b/package.json @@ -148,7 +148,7 @@ }, "aks.drafttool.releaseTag": { "type": "string", - "default": "v0.0.33", + "default": "v0.0.38", "title": "Draft repository release tag", "description": "Release tag for the stable Draft tool release." }, diff --git a/src/commands/utils/draft.ts b/src/commands/utils/draft.ts index fab98e24..77289694 100644 --- a/src/commands/utils/draft.ts +++ b/src/commands/utils/draft.ts @@ -56,7 +56,7 @@ async function getDeploymentFiles( .join(" "); const language = "java"; // So it doesn't attempt to autodetect the language - const command = `draft create --language ${language} --deployment-only --deploy-type ${deploymentType} --app testapp ${variableArgs} --destination ${destDir} --dry-run --silent`; + const command = `draft create --language ${language} --deployment-only --deploy-type ${deploymentType} ${variableArgs} --destination ${destDir} --dry-run --silent`; const execOptions: ShellOptions = { envPaths: [path.dirname(draftBinaryPath)], diff --git a/src/panels/draft/DraftDeploymentPanel.ts b/src/panels/draft/DraftDeploymentPanel.ts index 6f4de6ac..fdb56a30 100644 --- a/src/panels/draft/DraftDeploymentPanel.ts +++ b/src/panels/draft/DraftDeploymentPanel.ts @@ -283,7 +283,7 @@ export class DraftDeploymentDataProvider implements PanelDataProvider<"draftDepl .join(" "); const language = "java"; // So it doesn't attempt to autodetect the language - const command = `draft create --language ${language} --deployment-only --deploy-type ${args.deploymentSpecType} --app ${args.applicationName} ${variableArgs} --destination .${path.sep}${args.location} --skip-file-detection`; + const command = `draft create --language ${language} --deployment-only --deploy-type ${args.deploymentSpecType} ${variableArgs} --destination .${path.sep}${args.location} --skip-file-detection`; const execOptions: ShellOptions = { workingDir: this.workspaceFolder.uri.fsPath,