Skip to content

Commit

Permalink
Add publish script
Browse files Browse the repository at this point in the history
its for me boys
  • Loading branch information
bobbah committed Jul 30, 2020
1 parent 5aab5c4 commit 1da7137
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions publish-script.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dotnet publish CentCom.API -o publish/linux-x64/CentCom.API/ -r "linux-x64" --self-contained false
7z a publish/CentCom.API-linux-x64.zip -r ./publish/linux-x64/CentCom.API/*
dotnet publish CentCom.Server -o publish/linux-x64/CentCom.Server -r "linux-x64" --self-contained false
7z a publish/CentCom.Server-linux-x64.zip -r ./publish/linux-x64/CentCom.Server/*
dotnet publish CentCom.API -o publish/win-x64/CentCom.API/ -r "win-x64" --self-contained false
7z a publish/CentCom.API-win-x64.zip -r ./publish/win-x64/CentCom.API/*
dotnet publish CentCom.Server -o publish/win-x64/CentCom.Server -r "win-x64" --self-contained false
7z a publish/CentCom.Server-win-x64.zip -r ./publish/win-x64/CentCom.Server/*

0 comments on commit 1da7137

Please sign in to comment.