From a86046f81791794c6cf0563457a3b108d761935d Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 3 Apr 2023 19:32:03 +0100 Subject: [PATCH] Explain CLI version marker files --- .github/actions/update-bundle/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/update-bundle/index.ts b/.github/actions/update-bundle/index.ts index 9ea5c77ab..05a339253 100644 --- a/.github/actions/update-bundle/index.ts +++ b/.github/actions/update-bundle/index.ts @@ -16,6 +16,9 @@ interface Defaults { const CODEQL_BUNDLE_PREFIX = 'codeql-bundle-'; function getCodeQLCliVersionForRelease(release): string { + // We do not currently tag CodeQL bundles based on the CLI version they contain. + // Instead, we use a marker file `cli-version-.txt` to record the CLI version. + // This marker file is uploaded as a release asset for all new CodeQL bundles. const cliVersionsFromMarkerFiles = release.assets .map((asset) => asset.name.match(/cli-version-(.*)\.txt/)?.[1]) .filter((v) => v)