diff --git a/buildReleaseNuGetPackages.sh b/buildReleaseNuGetPackages.sh new file mode 100755 index 0000000..d847934 --- /dev/null +++ b/buildReleaseNuGetPackages.sh @@ -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 .. \ No newline at end of file