Browse Source

chore(release): prepare 5.0.0-rc3

- Set the prerelease label rc3, and add 5.0.0-rc2 to the versions that
  the PowerShell Gallery already has.
- Extend the description of the manifest, which the PowerShell Gallery
  shows, with the archive note (maintainer decision of 2026-10-06,
  Decision 18).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: AI Assistant <ai@example.com>
pull/112/head
Raimund Andree 6 days ago
parent
commit
ec4615be5e
  1. 4
      NTFSSecurity/NTFSSecurity.psd1
  2. 8
      Tests/Repository.Tests.ps1

4
NTFSSecurity/NTFSSecurity.psd1

@ -11,7 +11,7 @@
Copyright = '2018' Copyright = '2018'
Description = 'PowerShell module for managing file and folder security on NTFS volumes' Description = 'PowerShell module for managing file and folder security on NTFS volumes. NTFSSecurity will be archived; its successor is WindowsAccessControl.'
PowerShellVersion = '5.1' PowerShellVersion = '5.1'
@ -102,7 +102,7 @@
ProjectUri = 'https://github.com/raandree/NTFSSecurity' ProjectUri = 'https://github.com/raandree/NTFSSecurity'
ReleaseNotes = 'https://github.com/raandree/NTFSSecurity/blob/master/CHANGELOG.md' ReleaseNotes = 'https://github.com/raandree/NTFSSecurity/blob/master/CHANGELOG.md'
# Remove the prerelease label for the final release, see Docs/Contributing/05-Releasing.md # Remove the prerelease label for the final release, see Docs/Contributing/05-Releasing.md
Prerelease = 'rc2' Prerelease = 'rc3'
} }
} }
} }

8
Tests/Repository.Tests.ps1

@ -87,15 +87,17 @@ Describe 'Release metadata' {
} }
} }
# Before 5.0.0-rc2, the description said "Windows PowerShell Module", although the module supports PowerShell 7. # Before 5.0.0-rc2, the description said "Windows PowerShell Module", although the module supports PowerShell 7. Since
# 5.0.0-rc3, it announces that the project will be archived, for the users who see only the PowerShell Gallery.
It 'Should have the description that the PowerShell Gallery shows for the module' { It 'Should have the description that the PowerShell Gallery shows for the module' {
$manifest.Description | Should -BeExactly 'PowerShell module for managing file and folder security on NTFS volumes' $manifest.Description | Should -BeExactly ('PowerShell module for managing file and folder security on NTFS volumes. ' +
'NTFSSecurity will be archived; its successor is WindowsAccessControl.')
} }
# The PowerShell Gallery doesn't accept a version twice. Add every published version to this list # The PowerShell Gallery doesn't accept a version twice. Add every published version to this list
# (Docs/Contributing/05-Releasing.md). # (Docs/Contributing/05-Releasing.md).
It 'Should not reuse a version that the PowerShell Gallery already has' { It 'Should not reuse a version that the PowerShell Gallery already has' {
$publishedVersions = '4.0', '4.2.2', '4.2.3', '4.2.4', '4.2.5', '4.2.6', '5.0.0-rc1' $publishedVersions = '4.0', '4.2.2', '4.2.3', '4.2.4', '4.2.5', '4.2.6', '5.0.0-rc1', '5.0.0-rc2'
$publishedVersions | Should -Not -Contain $version $publishedVersions | Should -Not -Contain $version
} }

Loading…
Cancel
Save