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
2 changes: 0 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
contents: write
pull-requests: read
issues: read
id-token: write # Not needed for API token approach, but kept for compatibility

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -89,7 +88,6 @@ jobs:
uses: ./.github/workflows/python-release.yml
permissions:
contents: read
id-token: write
with:
working-directory: .
tag: ${{ needs.detect-release.outputs.latest_tag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: |
TAG_VERSION="${{ inputs.version }}"
# Extract version from version.go file
PACKAGE_VERSION=$(grep -E '^\s*const\s+Version\s*=' runagent/version.go | sed -E 's/.*Version\s*=\s*"([^"]+)".*/\1/')
PACKAGE_VERSION=$(grep -E '^\s*const\s+Version\s*=' version.go | sed -E 's/.*Version\s*=\s*"([^"]+)".*/\1/')
echo "Detected Go SDK version: $PACKAGE_VERSION"
if [ "$PACKAGE_VERSION" != "$TAG_VERSION" ]; then
echo "❌ Version mismatch! Tag: $TAG_VERSION, version.go: $PACKAGE_VERSION"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:
with:
password: ${{ secrets.PYPI_API_TOKEN }}
print-hash: true
attestations: false

- name: Skip publish (already exists)
if: steps.check-python.outputs.should_publish != 'true'
Expand Down
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Changelog
All notable changes to this project's latest version.

## [0.1.38] - 2025-11-19
## [0.1.40] - 2025-11-19

### Bug Fixes

- Update Go SDK version handling in release script and workflow

### Miscellaneous Tasks

- Bump version to v0.1.38
- Clean up release scripts and workflows
- Bump version to v0.1.40

### Refactor

- Clean up whitespace in serializer tests
- Improve release process and add Go SDK

<!-- generated by git-cliff -->
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"

[project]
name = "runagent"
version = "0.1.39"
version = "0.1.40"
description = "A command-line tool and SDK for deploying, managing, and interacting with AI agents"
readme = "README.md"
requires-python = ">=3.9"
Expand Down Expand Up @@ -103,7 +103,7 @@ line_length = 88
skip = ["docs"]

[tool.mypy]
python_version = "0.1.39"
python_version = "0.1.40"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
Expand Down Expand Up @@ -159,7 +159,7 @@ fail_under = 80

[tool.ruff]
line-length = 88
target-version = "0.1.39"
target-version = "0.1.40"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
Expand Down
14 changes: 10 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,27 @@ update_rust_version() {

update_go_version() {
local version=$1
local version_file="runagent-go/runagent/version.go"
local version_file="runagent-go/version.go"
local go_mod_file="runagent-go/go.mod"

mkdir -p "$(dirname "$version_file")"
if [[ ! -f "$version_file" ]]; then
cat > "$version_file" << EOF
package runagent

// Version represents the current version of the RunAgent Go SDK
const Version = "$version"
EOF
else
if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "s/const Version = \".*\"/const Version = \"$version\"/" "$version_file"
else
sed -i "s/const Version = \".*\"/const Version = \"$version\"/" "$version_file"
fi
fi

if [[ ! -f "$go_mod_file" ]]; then
mkdir -p "$(dirname "$go_mod_file")"
cat > "$go_mod_file" << EOF
module github.com/runagent-dev/runagent/runagent-go
module github.com/runagent-dev/runagent-go

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion runagent-go/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package runagent

// Version represents the current version of the RunAgent Go SDK
const Version = "0.1.39"
const Version = "0.1.40"
2 changes: 1 addition & 1 deletion runagent-rust/runagent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runagent"
version = "0.1.39"
version = "0.1.40"
edition = "2021"
description = "RunAgent SDK for Rust - Client SDK for interacting with deployed AI agents"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions runagent-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runagent-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "runagent",
"version": "0.1.39",
"version": "0.1.40",
"type": "module",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion runagent/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
built with frameworks like LangGraph, LangChain, and LlamaIndex.
"""

__version__ = "0.1.39"
__version__ = "0.1.40"

from .client import RunAgentClient

Expand Down
2 changes: 1 addition & 1 deletion runagent/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.39"
__version__ = "0.1.40"