Skip to content

Commit c0ee3b8

Browse files
author
Gabe Stocco
committed
Fixes directory change when running script.
1 parent 597df77 commit c0ee3b8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

buildReleaseNuGetPackages.cmd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ echo "Start building Electron.NET dev stack..."
22
echo "Restore & Build API"
33
cd ElectronNet.API
44
dotnet restore
5-
dotnet build --configuration Release --force /property:Version=0.0.11
6-
dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts"
5+
dotnet build --configuration Release --force /property:Version=0.0.11-custom
6+
dotnet pack /p:Version=0.0.11-custom --configuration Release --force --output "%~dp0artifacts"
77
cd ..
88
echo "Restore & Build CLI"
99
cd ElectronNet.CLI
1010
dotnet restore
11-
dotnet build --configuration Release --force /property:Version=0.0.11
12-
dotnet pack /p:Version=0.0.11 --configuration Release --force --output "%~dp0artifacts"
11+
dotnet build --configuration Release --force /property:Version=0.0.11-custom
12+
dotnet pack /p:Version=0.0.11-custom --configuration Release --force --output "%~dp0artifacts"
13+
cd ..

0 commit comments

Comments
 (0)