Skip to content

Commit

Permalink
update release.ps1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaBs committed Oct 4, 2021
1 parent 5ce09b0 commit f963cc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ mkdir .\release\SampleWinformLauncher$ver
Copy-Item .\CmlLib\bin\Release\* -Destination .\release\CmlLib.Core.$ver -Recurse
Get-ChildItem .\release\CmlLib.Core.$ver -Recurse -File | Where-Object { ($_.Extension -ne ".dll") } | Remove-Item
Copy-Item .\CmlLibWinFormSample\bin\Release\* -Destination .\release\SampleWinformLauncher$ver -Include *.exe, *.dll, *.pdb, *.config
Copy-Item .\CmlLibCoreSample\bin\Release\net5.0\* -Destination .\release\SampleCoreLauncher$ver -Include *.exe, *.dll, *.pdb, *.config

Compress-Archive -Path .\release\CmlLib.Core.$ver -DestinationPath .\release\CmlLib.Core.$ver.zip
Compress-Archive -Path .\release\SampleCoreLauncher$ver -DestinationPath .\release\SampleCoreLauncher$ver.zip
Expand Down

0 comments on commit f963cc4

Please sign in to comment.