Skip to main content

version-update

Updates the OLS version number across all required files. Use when bumping the version for a release or when the user asks to update, bump, or change the version number.

来源信息

仓库
openshift/lightspeed-service
最近来源活动
2026年2月25日 18:56
检测到的 SKILL.md 语言
英语
星标
70
Forks
94

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
version-update
description
Updates the OLS version number across all required files. Use when bumping the version for a release or when the user asks to update, bump, or change the version number.
disable-model-invocation
true
# Version Update Update the version in **three** files. They must all match. ## Files to update **1. `ols/version.py`** — source of truth ```python __version__ = "X.Y.Z" ``` **2. `docs/openapi.json`** — OpenAPI spec ```json "info": { "version": "X.Y.Z" } ``` **3. `scripts/build-container.sh`** — container build (note the `v` prefix) ```bash OLS_VERSION=vX.Y.Z ``` ## Checklist - [ ] `ols/version.py` updated - [ ] `docs/openapi.json` updated - [ ] `scripts/build-container.sh` updated with `v` prefix - [ ] All three versions match - [ ] Regenerate OpenAPI docs if needed after version change
在 GitHub 查看