File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " value-python"
3- version = " 0.1.1 "
3+ version = " 0.1.2 "
44description = " Python SDK to track AI agents with Value actions and auto-instrument LLM calls (Gemini, LangChain)"
55authors = [
" srinivas <[email protected] >" ]
66readme = " README.md"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Usage: ./scripts/release.sh 0.1.2 "Release notes"
3+
4+ set -e
5+
6+ VERSION=$1
7+ NOTES=${2:- " Release v$VERSION " }
8+
9+ if [ -z " $VERSION " ]; then
10+ echo " Usage: ./scripts/release.sh <version> [notes]"
11+ echo " Example: ./scripts/release.sh 0.1.2 'Bug fixes and improvements'"
12+ exit 1
13+ fi
14+
15+ echo " 🚀 Releasing version $VERSION ..."
16+
17+ # Update version in pyproject.toml
18+ sed -i.bak " s/^version = \" .*\" /version = \" $VERSION \" /" pyproject.toml && rm pyproject.toml.bak
19+
20+ # Update version in __init__.py
21+ sed -i.bak " s/__version__ = \" .*\" /__version__ = \" $VERSION \" /" src/value/__init__.py && rm src/value/__init__.py.bak
22+
23+ # Commit version bump
24+ git add pyproject.toml src/value/__init__.py
25+ git commit -m " Bump version to $VERSION "
26+ git push
27+
28+ # Create GitHub release (triggers publish workflow)
29+ gh release create " v$VERSION " --title " v$VERSION " --notes " $NOTES "
30+
31+ echo " Released v$VERSION !"
32+ echo " PyPI publish will be triggered automatically."
Original file line number Diff line number Diff line change 88 uninstrument ,
99)
1010
11- __version__ = "0.1.1 "
11+ __version__ = "0.1.2 "
1212__all__ = [
1313 "ValueClient" ,
1414 "AsyncValueClient" ,
You can’t perform that action at this time.
0 commit comments