Add deterministic release version updater and pack fixes#42
Merged
enyil merged 1 commit intodd/update-release-v2-24-1from Feb 10, 2026
Merged
Conversation
Add server/scripts/update-release-version.sh that deterministically updates all 22 version-bearing files (.codeql-version, package.json files, codeql-pack.yml files). Validates the base version (X.Y.Z) matches the installed CodeQL CLI before updating. Update release.yml workflow: - Add publish_codeql_packs input to skip pack publishing - Run update-release-version.sh to set tag version - Move CodeQL setup before version update for CLI validation - Use npm install (not npm ci) to sync lock file - Improve summary output with tabular format Update upgrade SKILL.md to reference the new script.
data-douser
added a commit
that referenced
this pull request
Feb 10, 2026
* Fix release workflow: use setup-codeql-environment action instead of codeql-action/init Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> * Add "fetch-tags" to release.yml workflow checkout * Upgrade codeql and repo version to 2.24.1 * Upgrade NodeJS dependencies to latest * Enhance MCP prompts with LSP tool guidance This commit: - updates 'server/src/prompts/*.prompt.md` files to provide better guidance to LLMs in relation to iterative and/or LSP-based tools; - improves unit tests of MCP ^ "workflow prompts"; - adds an example workshop, focused on using LSP-based MCP server tools, under the existing create-codeql-query-development-workshop agent skill; - updates .github/ instructions and prompts with lessons learned from tool validation via example workshop development. * improve release.yml workflow_dispatch compatibility * Improve prettier fix markdownlint required workflow * Fix tests flagged in PR review comments * Fix `release.yml` workflow for publishing CodeQL packs and npm package for `codeql-development-mcp-server` (#40) * Initial plan * Enable auto-creation of tags in release workflow for workflow_dispatch Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> * More fixes for release workflow --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Add `advanced-security/ql-mcp-*-tools-src` query pack archives as uploaded release artifacts (#41) * Initial plan * Enable auto-creation of tags in release workflow for workflow_dispatch Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> * More fixes for release workflow * Add CodeQL query packs as uploaded release artifacts --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * Add version update script & fix packs for release (#42) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
This pull request introduces an automated, deterministic approach for updating the release version across all version-bearing files in the repository, and integrates this process into the release workflow. It also improves documentation and workflow flexibility for publishing CodeQL packs. The most significant changes are grouped below.
Outline of Changes
Key changes:
Version Update Automation
server/scripts/update-release-version.sh, a comprehensive script to deterministically update, check, and validate the release version across.codeql-version, allpackage.jsonfiles, and allcodeql-pack.ymlfiles. The script supports dry-run, consistency checking, and CLI version validation.Documentation Improvements
.github/skills/upgrade-codeql-cli-and-packs/SKILL.mdto document the new script, replacing manual version update instructions with automated commands, and clarified thatcodeql-pack.ymlversion fields are now handled by the script. [1] [2]Release Workflow Enhancements
.github/workflows/release.ymlto:publish_codeql_packsinput to allow skipping CodeQL pack publishing during workflow dispatch (manual runs). [1] [2]npm install(fromnpm ci) to allow regeneration of lock files after version updates.