mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Fix .publish.xml file extension not being used on mac (#22939)
This commit is contained in:
@@ -851,7 +851,7 @@ export class PublishDatabaseDialog {
|
||||
saveProfileAsButton.onDidClick(async () => {
|
||||
const filePath = await vscode.window.showSaveDialog(
|
||||
{
|
||||
defaultUri: this.publishProfileUri ?? vscode.Uri.file(path.join(this.project.projectFolderPath, `${this.project.projectFileName}_1`)),
|
||||
defaultUri: this.publishProfileUri ?? vscode.Uri.file(path.join(this.project.projectFolderPath, `${this.project.projectFileName}_1.publish.xml`)),
|
||||
saveLabel: constants.save,
|
||||
filters: {
|
||||
'Publish Settings Files': ['publish.xml'],
|
||||
@@ -868,6 +868,7 @@ export class PublishDatabaseDialog {
|
||||
const targetDatabaseName = this.targetDatabaseName ?? '';
|
||||
const deploymentOptions = await this.getDeploymentOptions();
|
||||
await this.savePublishProfile(filePath.fsPath, targetDatabaseName, targetConnectionString, this.getSqlCmdVariablesForPublish(), deploymentOptions);
|
||||
|
||||
TelemetryReporter.sendActionEvent(TelemetryViews.SqlProjectPublishDialog, TelemetryActions.profileSaved);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user