Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- CVE updates
- Fixes to .vsix content exclusions
- Fix to `document-intelligence` support (not automatically adding it when updating old agents)

## New in 2.18.0 (2025-12-16)

Expand Down
17 changes: 10 additions & 7 deletions sema4ai/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,19 @@ def update_version(version, filepath):
contents = stream.read()

new_contents = _fix_rcc_contents_version(contents, version)
assert contents != new_contents, (
f"Nothing changed after applying new version (file: {filepath})"
)
if contents == new_contents:
print(f"Already at version {version}: {filepath}")
return

with open(filepath, "w", encoding="utf-8", newline="\n") as stream:
stream.write(new_contents)

update_version(version, os.path.join(".", "bin", "develop.sh"))
update_version(version, os.path.join(".", "bin", "develop.bat"))
update_version(version, os.path.join(".", "src", "sema4ai_code", "rcc.py"))
update_version(version, os.path.join(".", "vscode-client", "src", "rcc.ts"))
update_version(
version, os.path.join(root, "sema4ai", "src", "sema4ai_code", "rcc.py")
)
update_version(
version, os.path.join(root, "sema4ai", "vscode-client", "src", "rcc.ts")
)
update_version(
version,
os.path.join(root, ".github", "workflows", "build_environments.yaml"),
Expand Down
Loading