diff --git a/.spelling b/.spelling index 4b188971e7..7af78c5bde 100644 --- a/.spelling +++ b/.spelling @@ -1383,6 +1383,14 @@ lselden SethFalco CodeQL slowy07 +rc.2.21505.57 +ThirdPartyNotices.txt +cgmanifest.json +buildinfo +tar.gz +psoptions.json +manifest.spdx.json +vPack - CHANGELOG/7.0.md codesign release-BuildJson diff --git a/CHANGELOG/preview.md b/CHANGELOG/preview.md index a722a67c6e..9086cdd566 100644 --- a/CHANGELOG/preview.md +++ b/CHANGELOG/preview.md @@ -1,5 +1,54 @@ # Current preview release +## [7.2.0-rc.1] - 2021-10-21 + +### General Cmdlet Updates and Fixes + +- Disallow COM calls for AppLocker system lockdown (#16268) +- Configure `Microsoft.ApplicationInsights` to not send cloud role name (#16246) +- Disallow `Add-Type` in NoLanguage mode on a locked down machine (#16245) +- Make property names for color VT100 sequences consistent with documentation (#16212) +- Make moving a directory into itself with `Move-Item` an error (#16198) +- Change `FileSystemInfo.Target` from a `CodeProperty` to an `AliasProperty` that points to `FileSystemInfo.LinkTarget` (#16165) + +### Tests + +- Removed deprecated docker-based tests for PowerShell release packages (#16224) + +### Build and Packaging Improvements + +
+ + +

Bump .NET SDK to 6.0.100-rc.2

+
+ + + +
+ +[7.2.0-rc.1]: https://github.com/PowerShell/PowerShell/compare/v7.2.0-preview.10...v7.2.0-rc.1 + ## [7.2.0-preview.10] - 2021-09-28 ### Engine Updates and Fixes diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index 777f70b163..d7669e3434 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -1247,10 +1247,9 @@ function Get-FpmArguments "-t", $Type, "-s", "dir" ) - if ($Environment.IsRedHatFamily) { + if ($Distribution -eq 'rh') { $Arguments += @("--rpm-dist", $Distribution) $Arguments += @("--rpm-os", "linux") - $Arguments += @("--rpm-os", "linux") $Arguments += @("--license", "MIT") } else { $Arguments += @("--license", "MIT License") @@ -1368,7 +1367,7 @@ function New-AfterScripts Write-Verbose -Message "AfterScript Distribution: $Distribution" -Verbose - if ($Environment.IsRedHatFamily) { + if ($Distribution -eq 'rh') { $AfterInstallScript = (Join-Path $env:HOME $([System.IO.Path]::GetRandomFileName())) $AfterRemoveScript = (Join-Path $env:HOME $([System.IO.Path]::GetRandomFileName())) $packagingStrings.RedHatAfterInstallScript -f "$Link", $Destination | Out-File -FilePath $AfterInstallScript -Encoding ascii