Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mdanish-kh
Copy link
Contributor

@mdanish-kh mdanish-kh commented Sep 24, 2023

Not sure why/how but the call to Path.ChangeExtension() incorrectly modifies the file name for some files.
Instead of returning expected pattern Thunderbird%20Setup%20102.6.0* (for actual file name Thunderbird%20Setup%20102.6.0.msi), it returns Thunderbird%20Setup%20102.6.msi (truncating the '0' instead of the extension)

To fix this, manually concatenated the strings to form a matching pattern.

Validation

Run wingetcreate update Mozilla.Thunderbird --version 102.6.0 -i

  1. Give URL: https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/102.6.0/win64/en-US/Thunderbird%20Setup%20102.6.0.msi
  2. Then: https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/102.6.0/win64/en-GB/Thunderbird%20Setup%20102.6.0.msi
  3. Then: https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/102.6.0/win64/de/Thunderbird%20Setup%20102.6.0.msi

Microsoft Reviewers: Open in CodeFlow

@mdanish-kh mdanish-kh requested review from a team, ryfu-msft and yao-msft and removed request for a team September 24, 2023 20:16
@ryfu-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mdanish-kh
Copy link
Contributor Author

This just needs a re-run it seems

@exspandsome
Copy link

exspandsome commented Sep 25, 2023 via email

@ryfu-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ryfu-msft ryfu-msft merged commit 7d0f945 into microsoft:main Sep 25, 2023
@mdanish-kh mdanish-kh deleted the fixPattern branch September 25, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants