Skip to content

Commit

Permalink
Updated publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Voltstro committed Dec 29, 2019
1 parent 11126b1 commit f05e41b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion publish-scripts/Publish_Linux-x64.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dotnet publish ../Pootis-Bot.sln -c Release -r linux-x64 --framework netcoreapp3.0
Remove-Item -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\linux-x64\publish\Pootis-Bot.pdb"
Copy-Item "..\LICENSE.md" -Destination "..\src\Pootis-Bot\Bin\Release\netcoreapp3.0\linux-x64\publish\license.txt"
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\linux-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\linux-x64.zip" -CompressionLevel Optimal -Force
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\linux-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\pootis-bot-linux-x64.zip" -CompressionLevel Optimal -Force
pause
2 changes: 1 addition & 1 deletion publish-scripts/Publish_MacOS-x64.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dotnet publish ../Pootis-Bot.sln -c Release -r osx-x64 --framework netcoreapp3.0
Remove-Item -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\osx-x64\publish\Pootis-Bot.pdb"
Copy-Item "..\LICENSE.md" -Destination "..\src\Pootis-Bot\Bin\Release\netcoreapp3.0\osx-x64\publish\license.txt"
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\osx-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\osx-x64.zip" -CompressionLevel Optimal -Force
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\osx-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\pootis-bot-osx-x64.zip" -CompressionLevel Optimal -Force
pause
2 changes: 1 addition & 1 deletion publish-scripts/Publish_Win-x64.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dotnet publish ../Pootis-Bot.sln -c Release -r win-x64 --framework netcoreapp3.0
Remove-Item -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x64\publish\Pootis-Bot.pdb"
Copy-Item "..\LICENSE.md" -Destination "..\src\Pootis-Bot\Bin\Release\netcoreapp3.0\win-x64\publish\license.txt"
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x64.zip" -CompressionLevel Optimal -Force
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x64\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\pootis-bot-win-x64.zip" -CompressionLevel Optimal -Force
pause
2 changes: 1 addition & 1 deletion publish-scripts/Publish_Win-x86.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dotnet publish ../Pootis-Bot.sln -c Release -r win-x86 --framework netcoreapp3.0
Remove-Item -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x86\publish\Pootis-Bot.pdb"
Copy-Item "..\LICENSE.md" -Destination "..\src\Pootis-Bot\Bin\Release\netcoreapp3.0\win-x86\publish\license.txt"
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x86\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x86.zip" -CompressionLevel Optimal -Force
Compress-Archive -Path "..\src\Pootis-Bot\bin\Release\netcoreapp3.0\win-x86\publish\*" -DestinationPath "..\src\Pootis-Bot\bin\Release\pootis-bot-win-x86.zip" -CompressionLevel Optimal -Force
pause

0 comments on commit f05e41b

Please sign in to comment.