Honor specified nuget file location (#109)

* Honor specified nuget file location

* Generate and verify nuget.config
This commit is contained in:
Zachary Eisinger
2020-09-02 11:11:56 -07:00
committed by GitHub
parent 985d576ba0
commit 3569a93d9f
6 changed files with 71 additions and 21 deletions

View File

@@ -3,6 +3,11 @@ if [ -z "$1" ]; then
exit 1
fi
if [ ! -f "../nuget.config" ]; then
echo "nuget file not generated correctly"
exit 1
fi
dotnet_version="$(dotnet --version)"
echo "Found dotnet version '$dotnet_version'"
if [ -z "$(echo $dotnet_version | grep $1)" ]; then