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-service1 installsApache-2.0Synced Aug 25

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

Agent Skills format with YAML frontmatter. Claude Code reads it as-is.

---
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."
license: "Apache-2.0"
---

# 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

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY