File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ protected async System.Threading.Tasks.Task<ExitCodes> DownloadAndExtractAsync()
8282 var repoName = _preview ? _refTargetsDevRepo : _refTargetsStableRepo ;
8383 // get the firmware version if it is defined
8484 var fwVersion = string . IsNullOrEmpty ( _fwVersion ) ? "latest" : _fwVersion ;
85- string requestUri = $ "{ _cloudsmithPackages } /{ repoName } /?page=1&query={ _targetName } { fwVersion } ";
85+ string requestUri = $ "{ _cloudsmithPackages } /{ repoName } /?page=1&query=^ { _targetName } $ { fwVersion } ";
8686
8787 string downloadUrl = string . Empty ;
8888
@@ -182,7 +182,7 @@ protected async System.Threading.Tasks.Task<ExitCodes> DownloadAndExtractAsync()
182182
183183 // try with community targets
184184
185- requestUri = $ "{ _cloudsmithPackages } /{ _communityTargetsRepo } /?page=1&query={ _targetName } { fwVersion } ";
185+ requestUri = $ "{ _cloudsmithPackages } /{ _communityTargetsRepo } /?page=1&query=^ { _targetName } $ { fwVersion } ";
186186
187187 response = await _cloudsmithClient . GetAsync ( requestUri ) ;
188188
You can’t perform that action at this time.
0 commit comments