Skip to content

Commit 0a02b71

Browse files
author
kthrose
committed
Fix filenames in shell script, ElectronNet != ElectionNET on Linux for builds.
1 parent 43028af commit 0a02b71

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

buildReleaseNuGetPackages.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
echo "Start building Electron.NET dev stack..."
2+
23
echo "Restore & Build API"
3-
cd ElectronNet.API
4-
dotnet restore
5-
dotnet build --configuration Release --force /property:Version=5.22.12
6-
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts"
7-
cd ..
4+
cd ElectronNET.API && \
5+
dotnet restore && \
6+
dotnet build --configuration Release --force /property:Version=5.22.12 && \
7+
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts";
8+
9+
cd ../;
10+
811
echo "Restore & Build CLI"
9-
cd ElectronNet.CLI
10-
dotnet restore
11-
dotnet build --configuration Release --force /property:Version=5.22.12
12-
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts"
13-
cd ..
12+
cd ElectronNET.CLI && \
13+
dotnet restore && \
14+
dotnet build --configuration Release --force /property:Version=5.22.12 && \
15+
dotnet pack /p:Version=5.22.12 --configuration Release --force --output "%~dp0artifacts";

0 commit comments

Comments
 (0)