Skip to content

Commit

Permalink
changing draft version to .38 and removing manual appname (#874)
Browse files Browse the repository at this point in the history
Co-authored-by: Reinier Cruz <[email protected]>
  • Loading branch information
ReinierCC and Reinier Cruz authored Aug 23, 2024
1 parent 5c1e306 commit e7b7999
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
},
Expand Down
2 changes: 1 addition & 1 deletion src/commands/utils/draft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)],
Expand Down
2 changes: 1 addition & 1 deletion src/panels/draft/DraftDeploymentPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e7b7999

Please sign in to comment.