Fix release update of version-bearing files from 2.24.2-rc3 to 2.24.2#90
Fix release update of version-bearing files from 2.24.2-rc3 to 2.24.2#90data-douser wants to merge 2 commits intomainfrom
2.24.2-rc3 to 2.24.2#90Conversation
…VERSION constant The release-tag workflow produced a v2.24.2 tag with a stale `const VERSION = '2.24.1'` in the server entrypoint because `update-release-version.sh` did not know about that file. Changes: - Add `server/src/codeql-development-mcp-server.ts` to the version-bearing file list in `update-release-version.sh` (collect_versions, update_versions, and new `update_ts_version` helper) - Update all 24 version-bearing files from 2.24.2-rc3 to 2.24.2
Dependency ReviewThe following issues were found:
License Issuespackage-lock.json
OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Pull request overview
Updates the repository from the 2.24.2 release-candidate state to the final 2.24.2 release, ensuring version consistency across Node packages, CodeQL packs, and the bundled server artifact.
Changes:
- Bumped
versionacross root/client/server/VS Code extensionpackage.json(and regeneratedpackage-lock.json) to2.24.2. - Bumped all
server/ql/*/tools/{src,test}/codeql-pack.ymlpack versions to2.24.2. - Updated the server entrypoint
const VERSIONand refreshed the committedserver/dist/**bundle; extendedupdate-release-version.shto include the TypeScript entrypoint version.
Reviewed changes
Copilot reviewed 24 out of 27 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updates monorepo root version to 2.24.2. |
| package-lock.json | Regenerates lockfile for 2.24.2 workspace versions. |
| client/package.json | Updates client package version to 2.24.2. |
| extensions/vscode/package.json | Updates VS Code extension version to 2.24.2. |
| server/package.json | Updates server package version to 2.24.2. |
| server/src/codeql-development-mcp-server.ts | Updates the server’s const VERSION to 2.24.2. |
| server/dist/codeql-development-mcp-server.js | Updates bundled server artifact version string to 2.24.2. |
| server/scripts/update-release-version.sh | Adds support for collecting/updating the server entrypoint const VERSION. |
| server/ql/actions/tools/src/codeql-pack.yml | Updates Actions tools src pack version to 2.24.2. |
| server/ql/actions/tools/test/codeql-pack.yml | Updates Actions tools test pack version to 2.24.2. |
| server/ql/cpp/tools/src/codeql-pack.yml | Updates C/C++ tools src pack version to 2.24.2. |
| server/ql/cpp/tools/test/codeql-pack.yml | Updates C/C++ tools test pack version to 2.24.2. |
| server/ql/csharp/tools/src/codeql-pack.yml | Updates C# tools src pack version to 2.24.2. |
| server/ql/csharp/tools/test/codeql-pack.yml | Updates C# tools test pack version to 2.24.2. |
| server/ql/go/tools/src/codeql-pack.yml | Updates Go tools src pack version to 2.24.2. |
| server/ql/go/tools/test/codeql-pack.yml | Updates Go tools test pack version to 2.24.2. |
| server/ql/java/tools/src/codeql-pack.yml | Updates Java tools src pack version to 2.24.2. |
| server/ql/java/tools/test/codeql-pack.yml | Updates Java tools test pack version to 2.24.2. |
| server/ql/javascript/tools/src/codeql-pack.yml | Updates JavaScript tools src pack version to 2.24.2. |
| server/ql/javascript/tools/test/codeql-pack.yml | Updates JavaScript tools test pack version to 2.24.2. |
| server/ql/python/tools/src/codeql-pack.yml | Updates Python tools src pack version to 2.24.2. |
| server/ql/python/tools/test/codeql-pack.yml | Updates Python tools test pack version to 2.24.2. |
| server/ql/ruby/tools/src/codeql-pack.yml | Updates Ruby tools src pack version to 2.24.2. |
| server/ql/ruby/tools/test/codeql-pack.yml | Updates Ruby tools test pack version to 2.24.2. |
| server/ql/swift/tools/src/codeql-pack.yml | Updates Swift tools src pack version to 2.24.2. |
| server/ql/swift/tools/test/codeql-pack.yml | Updates Swift tools test pack version to 2.24.2. |
2.24.2-rc2 to 2.24.22.24.2-rc3 to 2.24.2
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Nathan Randall <70299490+data-douser@users.noreply.github.com>
| @@ -1,5 +1,5 @@ | |||
| name: advanced-security/ql-mcp-swift-tools-src | |||
| version: 2.24.2-rc3 | |||
| version: 2.24.2 | |||
There was a problem hiding this comment.
The PR description mentions updating codeql-pack.yml files for "actions, cpp, csharp, go, java, javascript, python, and ruby languages" but does not mention Swift. However, the actual code changes do include Swift pack files (server/ql/swift/tools/src/codeql-pack.yml and server/ql/swift/tools/test/codeql-pack.yml). The PR description should be updated to include Swift in the list of languages.
Summary of Changes
This pull request updates the project version from
2.24.2-rc3(release candidate) to the final2.24.2release across all relevant files. This ensures consistency and signals that the project is ready for production use.Outline of Changes
Version update across packages:
package.jsonfiles forcodeql-development-mcp-server_repo,codeql-development-mcp-server,codeql-development-mcp-server_client, and the VS Code extension package to2.24.2. [1] [2] [3] [4]Version update across CodeQL tool packs:
codeql-pack.ymlfiles for source tool packs for actions, cpp, csharp, go, java, javascript, python, and ruby languages to2.24.2. [1] [2] [3] [4] [5] [6] [7] [8]Version update across CodeQL test packs:
codeql-pack.ymlfiles for test packs for actions, cpp, csharp, go, java, javascript, python, and ruby languages to2.24.2. [1] [2] [3] [4] [5] [6] [7] [8]