원클릭으로
kuskus-version-bump
How to bump package versions in kuskus — required before merging any PR that touches a package
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
How to bump package versions in kuskus — required before merging any PR that touches a package
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
How to update SHA-pinned GitHub Actions in kuskus workflows
Opening and reviewing PRs in the kuskus repo
Master branch protection rules, bypass policy, and how to modify when needed
Triage and label issues in the kuskus repo
How automated publishing works in kuskus
Rules for safe development on this live, published extension
| name | Kuskus-Version-Bump |
| description | How to bump package versions in kuskus — required before merging any PR that touches a package |
Every PR that touches a package directory must include a version bump in that package's package.json. A PR validation check enforces this and will fail with:
ERROR: kusto-<pkg>/package.json version not bumped (X.Y.Z === origin/master).
Fix: cd kusto-<pkg> && npm version patch --no-git-tag-version
Docs: .github/skills/kuskus-version-bump/SKILL.md
| If PR touches… | Bump this file |
|---|---|
kusto-language-server/** | kusto-language-server/package.json |
.github/workflows/kusto-language-server-publish.yml | kusto-language-server/package.json |
kusto-syntax-highlighting/** | kusto-syntax-highlighting/package.json |
.github/workflows/kusto-syntax-highlighting-publish.yml | kusto-syntax-highlighting/package.json |
kusto-color-themes/** | kusto-color-themes/package.json |
.github/workflows/kusto-color-themes-publish.yml | kusto-color-themes/package.json |
kusto-extensions-pack/** | kusto-extensions-pack/package.json |
.github/workflows/kusto-extensions-pack-publish.yml | kusto-extensions-pack/package.json |
Rule: if your change would trigger the publish workflow, it must carry a version bump.
The check mirrors the on.push.paths triggers in each publish workflow exactly.
Only the root package.json per package matters — not client/package.json or server/package.json.
Use npm version from inside the package directory — it updates package.json and creates a git commit.
# patch bump (bug fixes, deps, chores) — most common
cd kusto-syntax-highlighting && npm version patch --no-git-tag-version
# minor bump (new features, backward-compatible)
cd kusto-language-server && npm version minor --no-git-tag-version
# major bump (breaking changes)
cd kusto-color-themes && npm version major --no-git-tag-version
--no-git-tag-version skips the git commit and tag — just edits package.json. Stage it with your other changes.
When in doubt: patch.
When the PR validation check fails with a version bump error:
kusto-<pkg>-pr-validation)npm version patch --no-git-tag-version inside each flagged package dirgit add <pkg>/package.json && git commit -m "chore: bump <pkg> version"Example:
cd kusto-syntax-highlighting
npm version patch --no-git-tag-version
cd ..
git add kusto-syntax-highlighting/package.json
git commit -m "chore: bump kusto-syntax-highlighting patch version"
git push
Each PR validation workflow uses two steps:
tj-actions/changed-files@v46 — detects if publish-triggering files changeddel-systems/check-if-version-bumped@v2 — checks version bumped, runs only if: steps.publish-trigger.outputs.any_changed == 'true'Trigger paths are listed explicitly in each PR validation workflow (duplicated from the publish workflow). This is intentional — 4 stable packages, acceptable tradeoff vs parsing YAML at runtime. If publish trigger paths ever change, update both the publish and pr-validation workflows.
The publish workflow triggers on pushes to master that touch the package directory. It reads whatever version is in package.json and publishes that version to the VS Code Marketplace. No auto-bump in CI — the version in your PR is the version that ships.