DTLib/push_packages.sh

12 lines
282 B
Bash

#!/usr/bin/bash
#echo enter github api key:
#read -rs GHK
echo enter nuget api key:
read -rs NGK
for PACK in $(find ./nuget -name '*.nupkg'); do
#dotnet nuget push $PACK -k $GHK -s github --skip-duplicate
dotnet nuget push $PACK -k $NGK -s nuget.org --skip-duplicate
done