Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v7

- name: Install Pester
shell: pwsh
Expand All @@ -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
Expand All @@ -58,7 +58,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v7

- name: Install PSScriptAnalyzer
shell: pwsh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 6 additions & 16 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 4 additions & 4 deletions scripts/SPSWakeUP.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<#PSScriptInfo
.VERSION 4.2.2
.VERSION 4.2.3

.GUID 1fc873b1-5854-46cb-8632-29cee879bb55

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions scripts/SPSWakeUp-pwsh.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Requires -Version 7.0
<#PSScriptInfo
.VERSION 4.2.2
.VERSION 4.2.3

.GUID 3cd095b3-7b4e-5a2f-ad8e-4f6a2b9c1d5e

Expand Down Expand Up @@ -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
Expand All @@ -85,7 +85,7 @@ param
)

#region Initialization
$spsWakeupVersion = '4.2.2'
$spsWakeupVersion = '4.2.3'
$currentUser = ([Security.Principal.WindowsIdentity]::GetCurrent()).Name

Clear-Host
Expand Down
Loading