Strip only for release

This commit is contained in:
Joseph Moreno
2023-02-10 13:37:09 -05:00
parent 350ac86ac4
commit ffcfefa065
2 changed files with 1 additions and 2 deletions

View File

@@ -3,4 +3,3 @@ rm -f src/packages.lock.json
dotnet publish -r linux-x64 -c Release /p:RestoreLockedMode=true
cd src/bin/Release/net7.0/linux-x64/publish
cp AvaloniaCoreRTDemo AvaloniaCoreRTDemo.bin
strip AvaloniaCoreRTDemo.bin