version-update
द्वारा openshift
सभी आवश्यक फ़ाइलों में OLS संस्करण संख्या को अद्यतन करता है। रिलीज़ के लिए संस्करण बढ़ाते समय या जब उपयोगकर्ता अद्यतन, बढ़ाने या बदलने के लिए कहता है, तब उपयोग करें।
npx skills add https://github.com/openshift/lightspeed-service --skill version-updateVersion Update
Update the version in three files. They must all match.
Files to update
1. ols/version.py — source of truth
__version__ = "X.Y.Z"
2. docs/openapi.json — OpenAPI spec
"info": {
"version": "X.Y.Z"
}
3. scripts/build-container.sh — container build (note the v prefix)
OLS_VERSION=vX.Y.Z
Checklist
-
ols/version.pyupdated -
docs/openapi.jsonupdated -
scripts/build-container.shupdated withvprefix - All three versions match
- Regenerate OpenAPI docs if needed after version change