Skip to content

Commit

Permalink
Add zip step to publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Dec 2, 2021
1 parent 54f3f49 commit 1cd4d9b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion publish-all.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
#!/bin/bash

dotnet publish --configuration Release -p:PublishProfile=win-x64
pushd RezoningScraper/publish/win-x64/
zip -FS RezoningScraper-win-x64.zip RezoningScraper.exe
popd

dotnet publish --configuration Release -p:PublishProfile=linux-x64
dotnet publish --configuration Release -p:PublishProfile=osx-x64
pushd RezoningScraper/publish/linux-x64/
zip -FS RezoningScraper-linux-x64.zip RezoningScraper
popd

dotnet publish --configuration Release -p:PublishProfile=osx-x64
pushd RezoningScraper/publish/osx-x64/
zip -FS RezoningScraper-osx-x64.zip RezoningScraper
popd

0 comments on commit 1cd4d9b

Please sign in to comment.