sourcegit/build.bat

11 lines
No EOL
336 B
Batchfile

@echo off
cd src
dotnet publish -c Release -r win-x64 -o ..\publish\SourceGit\ -p:PublishSingleFile=true --self-contained=true
dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true --self-contained=false
tar -C ..\publish -czvf ..\publish\SourceGit.tar.gz SourceGit\*.*
rmdir /S /Q ..\publish\SourceGit
pause