Store the default CodeQL bundle version in a JSON file.

This commit is contained in:
Chris Gavin 2020-08-10 12:34:11 +01:00
parent 6e18b27d4d
commit 97eafbc804
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
6 changed files with 13 additions and 4 deletions

View file

@ -12,6 +12,7 @@ import * as globalutil from 'util';
import uuidV4 from 'uuid/v4';
import * as api from './api-client';
import * as defaults from './defaults.json'; // Referenced from codeql-action-sync-tool!
import * as util from './util';
export interface CodeQL {
@ -81,7 +82,7 @@ let cachedCodeQL: CodeQL | undefined = undefined;
*/
const CODEQL_ACTION_CMD = "CODEQL_ACTION_CMD";
const CODEQL_BUNDLE_VERSION = "codeql-bundle-20200630";
const CODEQL_BUNDLE_VERSION = defaults.bundleVersion;
const CODEQL_BUNDLE_NAME = "codeql-bundle.tar.gz";
const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action";