#!/bin/bash CONFIGURATION=Release cd "$(dirname "${0}")" rm -rf artifacts mkdir artifacts dotnet restore -v q pushd AMWD.Common rm -rf bin dotnet build -c ${CONFIGURATION} --nologo --no-incremental mv bin/${CONFIGURATION}/*.nupkg ../artifacts mv bin/${CONFIGURATION}/*.snupkg ../artifacts popd pushd AMWD.Common.AspNetCore rm -rf bin dotnet build -c ${CONFIGURATION} --nologo --no-incremental mv bin/${CONFIGURATION}/*.nupkg ../artifacts mv bin/${CONFIGURATION}/*.snupkg ../artifacts popd pushd AMWD.Common.EntityFrameworkCore rm -rf bin dotnet build -c ${CONFIGURATION} --nologo --no-incremental mv bin/${CONFIGURATION}/*.nupkg ../artifacts mv bin/${CONFIGURATION}/*.snupkg ../artifacts popd pushd AMWD.Common.Moq rm -rf bin dotnet build -c ${CONFIGURATION} --nologo --no-incremental mv bin/${CONFIGURATION}/*.nupkg ../artifacts mv bin/${CONFIGURATION}/*.snupkg ../artifacts popd