From d0917903f1fb808645a1cbe123ca65ac811a2d9a Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Fri, 8 Dec 2023 13:33:24 +0000 Subject: [PATCH 1/8] [skip ci] Bump version to 1.1.0 --- PwshSpectreConsole/PwshSpectreConsole.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole/PwshSpectreConsole.psd1 b/PwshSpectreConsole/PwshSpectreConsole.psd1 index 3fbe8dff..d836082c 100644 --- a/PwshSpectreConsole/PwshSpectreConsole.psd1 +++ b/PwshSpectreConsole/PwshSpectreConsole.psd1 @@ -12,7 +12,7 @@ RootModule = 'PwshSpectreConsole' # Version number of this module. -ModuleVersion = '1.0.0' +ModuleVersion = '1.1.0' # Supported PSEditions # CompatiblePSEditions = @() From 8080e9e8a198705e719019195f2bfda03b839f52 Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sat, 9 Dec 2023 02:37:24 +1300 Subject: [PATCH 2/8] Update build-test-publish.yml --- .github/workflows/build-test-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index bc95ca13..a7e7b7aa 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -38,7 +38,8 @@ jobs: shell: pwsh run: | $ErrorActionPreference = "Stop" - Publish-Module -Path "./PwshSpectreConsole/" -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY + Import-Module .\PwshSpectreConsole\PwshSpectreConsole.psd1 -Force + Publish-Module -Name "PwshSpectreConsole" -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY publish-prerelease-to-psgallery: name: Publish Prerelease From 1c649416cc48b277fda83aa0c7c79d7ef224b08f Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Fri, 8 Dec 2023 13:37:39 +0000 Subject: [PATCH 3/8] [skip ci] Bump version to 1.2.0 --- PwshSpectreConsole/PwshSpectreConsole.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole/PwshSpectreConsole.psd1 b/PwshSpectreConsole/PwshSpectreConsole.psd1 index d836082c..467049d5 100644 --- a/PwshSpectreConsole/PwshSpectreConsole.psd1 +++ b/PwshSpectreConsole/PwshSpectreConsole.psd1 @@ -12,7 +12,7 @@ RootModule = 'PwshSpectreConsole' # Version number of this module. -ModuleVersion = '1.1.0' +ModuleVersion = '1.2.0' # Supported PSEditions # CompatiblePSEditions = @() From b351255610874b36cd1acf9df237958fcf3d98c8 Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sat, 9 Dec 2023 02:39:33 +1300 Subject: [PATCH 4/8] [skip ci] Update PwshSpectreConsole.psd1 --- PwshSpectreConsole/PwshSpectreConsole.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole/PwshSpectreConsole.psd1 b/PwshSpectreConsole/PwshSpectreConsole.psd1 index 467049d5..3fbe8dff 100644 --- a/PwshSpectreConsole/PwshSpectreConsole.psd1 +++ b/PwshSpectreConsole/PwshSpectreConsole.psd1 @@ -12,7 +12,7 @@ RootModule = 'PwshSpectreConsole' # Version number of this module. -ModuleVersion = '1.2.0' +ModuleVersion = '1.0.0' # Supported PSEditions # CompatiblePSEditions = @() From dee559622aea8cd62113edf7a1c637e9294e7e7b Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sat, 9 Dec 2023 02:40:03 +1300 Subject: [PATCH 5/8] Update build-test-publish.yml --- .github/workflows/build-test-publish.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index a7e7b7aa..0ab41f7b 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -34,12 +34,8 @@ jobs: git add PwshSpectreConsole/PwshSpectreConsole.psd1 git commit -m "[skip ci] Bump version to $newVersion" git push - - name: Deploy Package - shell: pwsh - run: | - $ErrorActionPreference = "Stop" Import-Module .\PwshSpectreConsole\PwshSpectreConsole.psd1 -Force - Publish-Module -Name "PwshSpectreConsole" -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY + Publish-Module -Name PwshSpectreConsole -Exclude "Build.ps1" -NugetApiKey $env:PSGALLERY_API_KEY publish-prerelease-to-psgallery: name: Publish Prerelease From 7afd40b5f894000cd8ef05f047a9d9d7990a9977 Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Fri, 8 Dec 2023 13:40:23 +0000 Subject: [PATCH 6/8] [skip ci] Bump version to 1.1.0 --- PwshSpectreConsole/PwshSpectreConsole.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole/PwshSpectreConsole.psd1 b/PwshSpectreConsole/PwshSpectreConsole.psd1 index 3fbe8dff..d836082c 100644 --- a/PwshSpectreConsole/PwshSpectreConsole.psd1 +++ b/PwshSpectreConsole/PwshSpectreConsole.psd1 @@ -12,7 +12,7 @@ RootModule = 'PwshSpectreConsole' # Version number of this module. -ModuleVersion = '1.0.0' +ModuleVersion = '1.1.0' # Supported PSEditions # CompatiblePSEditions = @() From df20de9248f17be79497b08c54b5a63bb3af8f8c Mon Sep 17 00:00:00 2001 From: Shaun Lawrie Date: Sat, 9 Dec 2023 02:44:13 +1300 Subject: [PATCH 7/8] Update publish-docs.yml --- .github/workflows/publish-docs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 4206fa0a..42bb7a39 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -24,13 +24,13 @@ jobs: & .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive git config --global user.name 'Shaun Lawrie (via GitHub Actions)' git config --global user.email 'shaun.r.lawrie@gmail.com' - git add PwshSpectreConsole.Docs/src/content - git commit -m "[skip ci] Update docs" - git push + git add PwshSpectreConsole.Docs/src/content || true + git commit -m "[skip ci] Update docs" || true + git push || true - name: Deploy uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} workingDirectory: "./PwshSpectreConsole.Docs/dist" - command: pages deploy . --project-name pwshspectreconsole --commit-dirty=true --branch=main \ No newline at end of file + command: pages deploy . --project-name pwshspectreconsole --commit-dirty=true --branch=main From 0e36145683b0b3a42015dd2d39225296c8442a7d Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Fri, 8 Dec 2023 13:44:35 +0000 Subject: [PATCH 8/8] [skip ci] Bump version to 1.2.0 --- PwshSpectreConsole/PwshSpectreConsole.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PwshSpectreConsole/PwshSpectreConsole.psd1 b/PwshSpectreConsole/PwshSpectreConsole.psd1 index d836082c..467049d5 100644 --- a/PwshSpectreConsole/PwshSpectreConsole.psd1 +++ b/PwshSpectreConsole/PwshSpectreConsole.psd1 @@ -12,7 +12,7 @@ RootModule = 'PwshSpectreConsole' # Version number of this module. -ModuleVersion = '1.1.0' +ModuleVersion = '1.2.0' # Supported PSEditions # CompatiblePSEditions = @()