Skip to content

Commit

Permalink
Use latest version for Analyzer Manager binary (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas authored Feb 1, 2024
1 parent 015d7ba commit 7867133
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/main/scanLogic/scanRunners/analyzerManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,13 @@ import { Translators } from '../../utils/translators';
* Analyzer manager is responsible for running the analyzer on the workspace.
*/
export class AnalyzerManager {
public static readonly ANALYZER_MANAGER_VERSION: string = '1.6.3';
private static readonly RELATIVE_DOWNLOAD_URL: string = '/xsc-gen-exe-analyzer-manager-local/v1';
private static readonly RELATIVE_DOWNLOAD_URL: string = '/xsc-gen-exe-analyzer-manager-local/v1/[RELEASE]';
private static readonly BINARY_NAME: string = 'analyzerManager';
public static readonly ANALYZER_MANAGER_PATH: string = Utils.addWinSuffixIfNeeded(
path.join(ScanUtils.getIssuesPath(), AnalyzerManager.BINARY_NAME, AnalyzerManager.BINARY_NAME)
);
private static readonly DOWNLOAD_URL: string = Utils.addZipSuffix(
AnalyzerManager.RELATIVE_DOWNLOAD_URL +
'/' +
AnalyzerManager.ANALYZER_MANAGER_VERSION +
'/' +
Utils.getArchitecture() +
'/' +
AnalyzerManager.BINARY_NAME
AnalyzerManager.RELATIVE_DOWNLOAD_URL + '/' + Utils.getArchitecture() + '/' + AnalyzerManager.BINARY_NAME
);
private static readonly JFROG_RELEASES_URL: string = 'https://releases.jfrog.io';
public static readonly ENV_PLATFORM_URL: string = 'JF_PLATFORM_URL';
Expand Down

0 comments on commit 7867133

Please sign in to comment.