Skip to content

fix: Update Bicep file path for cross-platform compatibility in deployment script#439

Merged
Prajwal-Microsoft merged 1 commit intomainfrom
PSL-BUG-21651
Aug 7, 2025
Merged

fix: Update Bicep file path for cross-platform compatibility in deployment script#439
Prajwal-Microsoft merged 1 commit intomainfrom
PSL-BUG-21651

Conversation

@Prasanjeet-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request makes a minor update to the deployment script by standardizing the path format for the main.bicep template file. The change replaces backslashes with forward slashes in the --template-file argument for both the what-if and actual deployment commands, improving cross-platform compatibility.

  • Deployment script improvements:
    • Updated the --template-file argument in both the what-if (az deployment group what-if) and deployment (az deployment group create) commands to use "./main.bicep" instead of .\main.bicep, ensuring consistent path formatting. [1] [2]

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid:

  • Bicep file path uses / instead of \
  • Script works on Windows, macOS, and Linux
  • No unrelated changes included

@Prajwal-Microsoft Prajwal-Microsoft merged commit a10a2b9 into main Aug 7, 2025
5 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Prajwal-Microsoft Prajwal-Microsoft deleted the PSL-BUG-21651 branch October 9, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants