From 68d24ea01d5d6ffc59c199b1c616a79625434d81 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Wed, 2 Sep 2026 08:07:34 +0200 Subject: [PATCH 1/2] Validate Process-PSModule publish fix end to end Point the caller at PSModule/Process-PSModule#529 (copilot/fix-publish-module-error) to verify that publishing a version which does not yet exist on the PowerShell Gallery succeeds. Includes a documentation-only change to Get-CurrentDateTime so the pipeline has a release to publish. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Process-PSModule.yml | 2 +- src/functions/public/DateAndTime/Get-CurrentDateTime.ps1 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index c25013b..da1e3bf 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -30,7 +30,7 @@ jobs: contents: read pages: write id-token: write - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v8 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@copilot/fix-publish-module-error secrets: PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }} GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }} diff --git a/src/functions/public/DateAndTime/Get-CurrentDateTime.ps1 b/src/functions/public/DateAndTime/Get-CurrentDateTime.ps1 index b7a5bec..3b1cd67 100644 --- a/src/functions/public/DateAndTime/Get-CurrentDateTime.ps1 +++ b/src/functions/public/DateAndTime/Get-CurrentDateTime.ps1 @@ -5,7 +5,8 @@ .DESCRIPTION Returns the current date and time formatted according to the specified format string. - Supports common format presets or custom format strings. + Supports common format presets or custom format strings. The Short and Long presets + follow the current culture of the calling session, while ISO8601 is culture-invariant. .EXAMPLE Get-CurrentDateTime From 5f80bc3f42cd2cf94a72ee3239116cab8d406e0f Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Wed, 2 Sep 2026 10:21:58 +0200 Subject: [PATCH 2/2] Point caller back at the v8 tag PSModule/Process-PSModule#529 merged and shipped in v8.0.4, so the publish fix is available from the v8 tag. The temporary branch pin is no longer needed, and the branch it referenced has been deleted. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Process-PSModule.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index da1e3bf..c25013b 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -30,7 +30,7 @@ jobs: contents: read pages: write id-token: write - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@copilot/fix-publish-module-error + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v8 secrets: PSGALLERY_API_KEY: ${{ secrets.PSGALLERY_API_KEY }} GitHubAppClientId: ${{ secrets.SHELLY_CLIENT_ID }}