Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 478 Bytes

File metadata and controls

15 lines (13 loc) · 478 Bytes

testing the dotnet tool locally

to setup a local test, specify the version and run the script.

$version=3.0.0-beta
dotnet pack ./src/dbup-cli/dbup-cli.csproj --configuration Release /p:PackageVersion=$version
dotnet tool uninstall dbup-cli-2 --global
dotnet tool install dbup-cli-2 --global --version $version --add-source ./src/dbup-cli/nupkg

to restore from nuget

dotnet tool uninstall dbup-cli-2 --global
dotnet tool install dbup-cli-2 --global