azure-sdk-for-cpp/eng/common
Azure SDK Bot 46fcbbad52
Sync eng/common directory with azure-sdk-tools for PR 7615 (#5313)
* Prepare-Release.ps1: Make dateTime.ToString("MM/dd/yyyy") to work on exotic set-ups

On my machine, I experimented with the registry, and the worst part is that I don't remember/know how to reset it back.

The work items that script produces, do have datetimes for the upcoming releases in the `MM-dd-yyyy` format, and then I have to correct them by hand.

`dateTime.ToString("MM/dd/yyyy")` does produce the date in the format of `MM-dd-yyyy` on my machine. This also happens if I write a corresponding .NET app.

The fix that I am proposing makes it work on my specific setup and hopefully breaks no one else. I understand if you are hesitant to take it. Let me know, I'll see how I can restore my setting.

But on the other hand, I don't think it makes anything worse, it only makes things more robust, so maybe take it?

* Use [CultureInfo]::InvarialtCulture

Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>

* Update eng/common/scripts/Prepare-Release.ps1

* Update eng/common/scripts/Prepare-Release.ps1

---------

Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
2024-02-02 18:26:04 +00:00
..
docgeneration Sync eng/common directory with azure-sdk-tools for PR 3386 (#3733) 2022-06-14 10:47:25 -07:00
pipelines Sync eng/common directory with azure-sdk-tools for PR 7451 (#5264) 2024-01-14 19:37:42 -08:00
scripts Sync eng/common directory with azure-sdk-tools for PR 7615 (#5313) 2024-02-02 18:26:04 +00:00
spelling update deps for spelling tool (#4807) 2023-07-19 13:15:26 -07:00
testproxy use merge instead of cherry-pick in merge-proxy-tags.ps1 (#5286) 2024-01-21 21:57:52 -08:00
TestResources Sync eng/common directory with azure-sdk-tools for PR 7584 (#5294) 2024-01-25 14:52:29 -08:00
InterdependencyGraph.html
README.md Sync eng/common directory with azure-sdk-tools for PR 1716 (#2467) 2021-06-21 12:18:52 -07:00

Common Engineering System

Updates under this directory should only be made in the azure-sdk-tools repo as any changes under this directory outside of that repo will end up getting overwritten with future updates. For information about making updates see common engineering system docs