Skip to content

Commit f33f770

Browse files
committed
Bump version to 0.1.2
1 parent 83b7eab commit f33f770

3 files changed

Lines changed: 34 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "value-python"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Python SDK to track AI agents with Value actions and auto-instrument LLM calls (Gemini, LangChain)"
55
authors = ["srinivas <[email protected]>"]
66
readme = "README.md"

scripts/release.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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."

src/value/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
uninstrument,
99
)
1010

11-
__version__ = "0.1.1"
11+
__version__ = "0.1.2"
1212
__all__ = [
1313
"ValueClient",
1414
"AsyncValueClient",

0 commit comments

Comments
 (0)