MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _increment_version

Function _increment_version

skills/profile-updater/scripts/update_profile.py:915–920  ·  view source on GitHub ↗
(version: str)

Source from the content-addressed store, hash-verified

913
914
915def _increment_version(version: str) -> str:
916 try:
917 major_raw, minor_raw = str(version or "0.1").split(".", 1)
918 return f"{int(major_raw)}.{int(minor_raw) + 1}"
919 except Exception:
920 return "0.1"
921
922
923def _bump_topic_weight(

Calls

no outgoing calls

Tested by

no test coverage detected