Skip to content

Commit

Permalink
Use explicit version in installer scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
digimaun committed Nov 18, 2020
1 parent 14834b6 commit 34725bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clients/dotnet/installer/install-dmr-client-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion clients/dotnet/installer/install-dmr-client-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 34725bf

Please sign in to comment.