Skip to content

Commit 43028af

Browse files
author
kthrose
committed
add bash version of release script
1 parent 8a3b995 commit 43028af

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

buildReleaseNuGetPackages.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
echo "Start building Electron.NET dev stack..."
2+
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 ..
8+
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 ..

0 commit comments

Comments
 (0)