File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
tools/releaseBuild/azureDevOps/templates Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,17 @@ steps:
16
16
git clone https://$(AzureDevOpsPat)@mscodehub.visualstudio.com/PowerShellCore/_git/Internal-PowerShellTeam-Tools '$(Pipeline.Workspace)/tools'
17
17
displayName : Clone Internal-Tools repository
18
18
19
+ - pwsh : |
20
+ $Path = "$(System.ArtifactsDirectory)"
21
+ $OutputPath = Join-Path $Path ‘hashes.sha256’
22
+ $null = New-Item $OutputPath -ItemType File -Force
23
+ foreach ($file in Get-ChildItem -Path $Path -File ){
24
+ Get-FileHash -Algorithm SHA256 -Path $file |
25
+ ForEach-Object { "$($_.Hash) *$($file.Name)" } |
26
+ Out-File -Path $OutputPath -Append
27
+ }
28
+ displayName : Add sha256 hashes
29
+
19
30
- pwsh : |
20
31
Import-module '$(Pipeline.Workspace)/tools/Scripts/GitHubRelease.psm1'
21
32
Publish-ReleaseDraft -Tag '$(ReleaseTag)' -Name '$(ReleaseTag) Release of PowerShell' -Description '<-- Update Me -->' -User PowerShell -Repository PowerShell -PackageFolder $(System.ArtifactsDirectory) -Token $(GitHubReleasePat)
You can’t perform that action at this time.
0 commit comments