mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Adds sha256 digests to RPM packages (#16896)
Co-authored-by: Nick Hall <nhall@optumserve.com> Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
This commit is contained in:
co-authored by
Nick Hall
Travis Plunk
parent
6c171610a3
commit
8c238652b5
@@ -1333,6 +1333,7 @@ function Get-FpmArguments
|
||||
"-s", "dir"
|
||||
)
|
||||
if ($Distribution -in $script:RedHatDistributions) {
|
||||
$Arguments += @("--rpm-digest", "sha256")
|
||||
$Arguments += @("--rpm-dist", $Distribution)
|
||||
$Arguments += @("--rpm-os", "linux")
|
||||
$Arguments += @("--license", "MIT")
|
||||
|
||||
Reference in New Issue
Block a user