Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File name case sensitivity issue with template file #621

Open
PhilM-IT opened this issue Oct 24, 2023 · 1 comment
Open

File name case sensitivity issue with template file #621

PhilM-IT opened this issue Oct 24, 2023 · 1 comment

Comments

@PhilM-IT
Copy link

PhilM-IT commented Oct 24, 2023

The NPM package building the artifacts is using the following for the parameter file name (notice ARM is all caps).

ARMTemplateParametersForFactory.json

Line 551 of the PrePostDeploymentScript.Ver2.ps1 script to bulid the path for that file when not provided uses:

$ArmTemplateParameters = Join-Path -Path (Split-Path $ArmTemplate -Parent) -ChildPath 'ArmTemplateParametersForFactory.json'

This fails to find the file due to the case mismatch in the filename, mixed case of "Arm" instead of "ARM".

Can this be adjusted to address the issue?

It only causes problems on a linux based agent. Windows agents seem to be case insensitive and this doesn't cause a problem.

@PhilM-IT
Copy link
Author

Reviewing the open pull requests this seems to have been fixed already. Just need to merge the pull

#584

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

No branches or pull requests

1 participant