Skip to content

Commit ee48bb4

Browse files
committed
fix(sdk): sync __version__ with version.yaml and add to release-it
argus/__init__.py was stuck at 0.1.0 while version.yaml is 0.7.0. Fixed to 0.7.0 and added release-it regex-bumper rule so it stays in sync on every release. Regenerated CLI docs with correct version.
1 parent 3084f68 commit ee48bb4

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

.release-it.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@
171171
"flags": "g"
172172
},
173173
"replace": "${1}{{version}}"
174+
},
175+
{
176+
"files": [
177+
"argus/__init__.py"
178+
],
179+
"search": {
180+
"pattern": "(__version__\\s*=\\s*\")[^\"]+\"",
181+
"flags": ""
182+
},
183+
"replace": "${1}{{version}}\""
174184
}
175185
]
176186
}

argus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Argus Security Scanner SDK."""
22

3-
__version__ = "0.1.0"
3+
__version__ = "0.7.0"

docs/cli-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Argus CLI Reference (v0.1.0)
1+
# Argus CLI Reference (v0.7.0)
22

33
> Auto-generated from argparse definitions on 2026-04-12.
44
> Do not edit manually — run `python scripts/gen_cli_docs.py` to regenerate.

0 commit comments

Comments
 (0)