Fixes directory change when running script.

This commit is contained in:
Gabe Stocco
2019-03-28 14:41:34 -07:00
parent 597df77508
commit c0ee3b8859

View File

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