Skip to content

Commit

Permalink
chore(build)
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardog committed Sep 3, 2022
1 parent 9102941 commit fa41c97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/04-release-GitHub.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ if ($env:version) {
}
"- Using version number v$version / v$version_MajorMinorPatch"

Get-ChildItem .\artifacts\ -File | Remove-Item

"- Packaging v$version"
rm ./Artifacts/*.pdb -Recurse
Get-ChildItem .\artifacts\ -File | Remove-Item # Remove files on artifacts root
Get-ChildItem .\artifacts\ -Filter *.pdb -Recurse | Remove-Item # Remove *.pdb on subfolders

Compress-Archive -Path ./artifacts/x86,./artifacts/x64,./artifacts/net46-AnyCpu -DestinationPath "artifacts/gsudo.v$($version).zip" -force -CompressionLevel Optimal
(Get-FileHash artifacts\gsudo.v$($version).zip).hash > artifacts\gsudo.v$($version).zip.sha256

Expand Down

0 comments on commit fa41c97

Please sign in to comment.