add bash version of release script

This commit is contained in:
kthrose
2019-05-31 10:08:44 -04:00
parent 8a3b9951fa
commit 43028afc02

13
buildReleaseNuGetPackages.sh Executable file
View File

@@ -0,0 +1,13 @@
echo "Start building Electron.NET dev stack..."
echo "Restore & Build API"
cd ElectronNet.API
dotnet restore
dotnet build --configuration Release --force /property:Version=5.22.12
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts"
cd ..
echo "Restore & Build CLI"
cd ElectronNet.CLI
dotnet restore
dotnet build --configuration Release --force /property:Version=5.22.12
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts"
cd ..