diff --git a/clients/dotnet/installer/install-dmr-client-linux.sh b/clients/dotnet/installer/install-dmr-client-linux.sh index 2a573db..2ebf79a 100644 --- a/clients/dotnet/installer/install-dmr-client-linux.sh +++ b/clients/dotnet/installer/install-dmr-client-linux.sh @@ -10,4 +10,4 @@ mkdir $source_archive_dir curl -# -o $source_archive_dir/snapshot-$snapshot_ver https://codeload.github.com/Azure/iot-plugandplay-models-tools/tar.gz/$snapshot_ver cd $source_archive_dir && { tar -xf snapshot-$snapshot_ver ; cd -; } dotnet pack $source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet -v q -c Release -dotnet tool install -g dmr-client --add-source $source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet/Azure.Iot.ModelsRepository.CLI/bin/Release +dotnet tool install -g dmr-client --add-source $source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet/Azure.Iot.ModelsRepository.CLI/bin/Release --version $snapshot_ver diff --git a/clients/dotnet/installer/install-dmr-client-windows.ps1 b/clients/dotnet/installer/install-dmr-client-windows.ps1 index 4fab5ab..81b9465 100644 --- a/clients/dotnet/installer/install-dmr-client-windows.ps1 +++ b/clients/dotnet/installer/install-dmr-client-windows.ps1 @@ -11,4 +11,4 @@ Set-Location -Path "$source_archive_dir" tar -xf "snapshot-$snapshot_ver" Pop-Location dotnet pack "$source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet" -v q -c Release -dotnet tool install -g dmr-client --add-source "$source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet/Azure.Iot.ModelsRepository.CLI/bin/Release" +dotnet tool install -g dmr-client --add-source "$source_archive_dir/iot-plugandplay-models-tools-$snapshot_ver/clients/dotnet/Azure.Iot.ModelsRepository.CLI/bin/Release" --version $snapshot_ver