Skip to main content

update-version

Update the project version number across all files that contain it on the current branch. Use when bumping the version on a single branch only. For a full multi-branch release, use the release skill instead.

Quellinformationen

Repository
openshift/lightspeed-console
Letzte Quellaktivität
19. März 2026 um 05:02
Erkannte Sprache von SKILL.md
Englisch
Sterne
10
Forks
37

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
update-version
description
Update the project version number across all files that contain it on the current branch. Use when bumping the version on a single branch only. For a full multi-branch release, use the release skill instead.
# Update Version ## Steps 1. **Determine the new version.** If the user didn't specify one, read the current version from `package.json` and bump the patch version number. 2. **Update `package.json`** — replace the version string in both the top-level `version` field and the `consolePlugin.version` field. Both must match. 3. **Update `src/components/OverviewDetail.tsx`** — replace the old version string in the JSX with the new one. 4. **Sync the lockfile** — run `npm install` to propagate the version change into `package-lock.json`. 5. **Verify** — search the workspace for the old version string to confirm no stale references remain (ignore `node_modules/` and `dist/`). Report any unexpected occurrences to the user. ## Version format This project uses semver (`MAJOR.MINOR.PATCH`)
Auf GitHub ansehen