diff --git a/.github/workflows/pester.yml b/.github/workflows/pester.yml index 98ab59e..940a01a 100644 --- a/.github/workflows/pester.yml +++ b/.github/workflows/pester.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Install Pester shell: pwsh @@ -38,7 +38,7 @@ jobs: Invoke-Pester -Configuration $config - name: Upload test results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: test-results @@ -58,7 +58,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v7 - name: Install PSScriptAnalyzer shell: pwsh diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ea13ff9..c829719 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,17 +15,17 @@ jobs: # Checkout code - name: Checkout code id: checkout_code - uses: actions/checkout@v4 + uses: actions/checkout@v7 # Create a ZIP file with project name and tag version - name: Create ZIP file of scripts run: | zip_name="SPSWakeUp-${{ github.ref_name }}.zip" - zip -r $zip_name scripts/ + ( cd scripts && zip -r "../$zip_name" . ) shell: bash # Create Release with tag version - name: Create GitHub Release id: create_release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/wiki.yml b/.github/workflows/wiki.yml index b2b1197..4ff3198 100644 --- a/.github/workflows/wiki.yml +++ b/.github/workflows/wiki.yml @@ -21,13 +21,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: ${{github.repository}} path: ${{github.repository}} - name: Checkout Wiki - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: ${{github.repository}}.wiki path: ${{github.repository}}.wiki diff --git a/CHANGELOG.md b/CHANGELOG.md index 364b99c..c1f356c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ The format is based on and uses the types of changes according to [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.2.3] - 2026-07-07 + +### Changed + +- Bump `actions/checkout` to `v7` across all workflows (`release.yml`, `pester.yml`, `wiki.yml`), replacing the previous `v4`/`v3` pins that relied on the deprecated Node.js runtime ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). +- Bump `actions/upload-artifact` to `v7` and `softprops/action-gh-release` to `v3` in the CI workflows ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). +- `release.yml`: build the release ZIP from the **contents** of `scripts/` instead of the folder itself, so `SPSWakeUP.ps1`, `SPSWakeUp-pwsh.ps1` and `SPSWakeUP_README.md` are extracted at the archive root ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). + +SPSWakeUP.ps1 / SPSWakeUp-pwsh.ps1: + +- Bump script version metadata and in-script version variables to `4.2.3`. + ## [4.2.2] - 2026-05-18 ### Changed diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index a397599..c6f1784 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,26 +1,16 @@ # SPSWakeUp - Release Notes -## [4.2.2] - 2026-05-18 +## [4.2.3] - 2026-07-07 ### Changed -SPSWakeUP.ps1 / SPSWakeUp-pwsh.ps1: - -- Bump script version metadata and in-script version variables to `4.2.2`. - -### Fixed - -SPSWakeUP.ps1: +- Bump `actions/checkout` to `v7` across all workflows (`release.yml`, `pester.yml`, `wiki.yml`), replacing the previous `v4`/`v3` pins that relied on the deprecated Node.js runtime ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). +- Bump `actions/upload-artifact` to `v7` and `softprops/action-gh-release` to `v3` in the CI workflows ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). +- `release.yml`: build the release ZIP from the **contents** of `scripts/` instead of the folder itself, so `SPSWakeUP.ps1`, `SPSWakeUp-pwsh.ps1` and `SPSWakeUP_README.md` are extracted at the archive root ([#42](https://github.com/luigilink/SPSWakeUp/issues/42)). -- Fix scheduled task action argument construction in `Install-SPSWakeUP` by quoting the `-File` script path, so installations work when the script path contains spaces. - -### Tests - -- Add regression test in `tests/SPSWakeUP.Tests.ps1` to assert scheduled task `ActionArguments` uses a quoted script path for `-File`. - -### Documentation +SPSWakeUP.ps1 / SPSWakeUp-pwsh.ps1: -- Update `README.md` and wiki pages (`Home.md`, `Features.md`, `Getting-Started.md`, `Usage.md`) to specify deployment guidance: run/install on Web Front End (WFE) servers and do not run/install on Search MinRole servers. +- Bump script version metadata and in-script version variables to `4.2.3`. ## Changelog diff --git a/scripts/SPSWakeUP.ps1 b/scripts/SPSWakeUP.ps1 index a3217e7..4c9cf75 100644 --- a/scripts/SPSWakeUP.ps1 +++ b/scripts/SPSWakeUP.ps1 @@ -1,5 +1,5 @@ <#PSScriptInfo - .VERSION 4.2.2 + .VERSION 4.2.3 .GUID 1fc873b1-5854-46cb-8632-29cee879bb55 @@ -70,8 +70,8 @@ Nutsoft (Des Finkenzeller) bed428 (Brian D.) - Date: May 06, 2026 - Version: 4.2.2 + Date: July 07, 2026 + Version: 4.2.3 Licence: MIT License .LINK @@ -96,7 +96,7 @@ param #region Initialization # Define variables -$spsWakeupVersion = '4.2.2' +$spsWakeupVersion = '4.2.3' $currentUser = ([Security.Principal.WindowsIdentity]::GetCurrent()).Name # Clear the host console diff --git a/scripts/SPSWakeUp-pwsh.ps1 b/scripts/SPSWakeUp-pwsh.ps1 index 60fe8da..5d60f41 100644 --- a/scripts/SPSWakeUp-pwsh.ps1 +++ b/scripts/SPSWakeUp-pwsh.ps1 @@ -1,6 +1,6 @@ #Requires -Version 7.0 <#PSScriptInfo - .VERSION 4.2.2 + .VERSION 4.2.3 .GUID 3cd095b3-7b4e-5a2f-ad8e-4f6a2b9c1d5e @@ -60,8 +60,8 @@ FileName: SPSWakeUp-pwsh.ps1 Authors: luigilink (Jean-Cyril DROUHIN) - Date: May 06, 2026 - Version: 4.2.2 + Date: July 07, 2026 + Version: 4.2.3 Licence: MIT License .LINK @@ -85,7 +85,7 @@ param ) #region Initialization -$spsWakeupVersion = '4.2.2' +$spsWakeupVersion = '4.2.3' $currentUser = ([Security.Principal.WindowsIdentity]::GetCurrent()).Name Clear-Host