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
30 changes: 20 additions & 10 deletions .github/workflows/01-create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

Expand Down Expand Up @@ -61,29 +61,36 @@ jobs:
cd web
pnpm version $BUMP_TYPE
WEB_VERSION=$(pnpm pkg get version | tr -d '"')

cd ee
current_version=$(pnpm pkg get version | awk -F': ' '/[0-9]+\.[0-9]+\.[0-9]+/ {print $2}' | tr -d '"')
new_version=$(npx semver "$current_version" -i $BUMP_TYPE)
pnpm pkg set version="$new_version"
EE_VERSION=$new_version
cd ..

cd oss
current_version=$(pnpm pkg get version | awk -F': ' '/[0-9]+\.[0-9]+\.[0-9]+/ {print $2}' | tr -d '"')
new_version=$(npx semver "$current_version" -i $BUMP_TYPE)
pnpm pkg set version="$new_version"
OSS_VERSION=$new_version
cd ..

cd packages/agenta-api-client
current_version=$(pnpm pkg get version | awk -F': ' '/[0-9]+\.[0-9]+\.[0-9]+/ {print $2}' | tr -d '"')
new_version=$(npx semver "$current_version" -i $BUMP_TYPE)
pnpm pkg set version="$new_version"
TS_CLIENT_VERSION=$new_version
cd ../..

cd ..

cd clients/python
CLIENT_VERSION=$(uv version --bump "$BUMP_TYPE" --short)
PY_CLIENT_VERSION=$(uv version --bump "$BUMP_TYPE" --short)
cd ../..

cd sdks/python
SDK_VERSION=$(uv version --bump "$BUMP_TYPE" --short)
PY_SDK_VERSION=$(uv version --bump "$BUMP_TYPE" --short)
cd ../..

cd api
Expand All @@ -97,20 +104,22 @@ jobs:
WEB_VERSION=$(echo "$WEB_VERSION" | tr -d '[:space:]')
EE_VERSION=$(echo "$EE_VERSION" | tr -d '[:space:]')
OSS_VERSION=$(echo "$OSS_VERSION" | tr -d '[:space:]')
CLIENT_VERSION=$(echo "$CLIENT_VERSION" | tr -d '[:space:]')
SDK_VERSION=$(echo "$SDK_VERSION" | tr -d '[:space:]')
TS_CLIENT_VERSION=$(echo "$TS_CLIENT_VERSION" | tr -d '[:space:]')
PY_CLIENT_VERSION=$(echo "$PY_CLIENT_VERSION" | tr -d '[:space:]')
PY_SDK_VERSION=$(echo "$PY_SDK_VERSION" | tr -d '[:space:]')
API_VERSION=$(echo "$API_VERSION" | tr -d '[:space:]')
SERVICES_VERSION=$(echo "$SERVICES_VERSION" | tr -d '[:space:]')

echo "WEB_VERSION='$WEB_VERSION'"
echo "EE_VERSION='$EE_VERSION'"
echo "OSS_VERSION='$OSS_VERSION'"
echo "CLIENT_VERSION='$CLIENT_VERSION'"
echo "SDK_VERSION='$SDK_VERSION'"
echo "TS_CLIENT_VERSION='$TS_CLIENT_VERSION'"
echo "PY_CLIENT_VERSION='$PY_CLIENT_VERSION'"
echo "PY_SDK_VERSION='$PY_SDK_VERSION'"
echo "API_VERSION='$API_VERSION'"
echo "SERVICES_VERSION='$SERVICES_VERSION'"

if [ "$EE_VERSION" = "$OSS_VERSION" ] && [ "$OSS_VERSION" = "$WEB_VERSION" ] && [ "$WEB_VERSION" = "$CLIENT_VERSION" ] && [ "$CLIENT_VERSION" = "$SDK_VERSION" ] && [ "$SDK_VERSION" = "$API_VERSION" ] && [ "$API_VERSION" = "$SERVICES_VERSION" ]; then
if [ "$EE_VERSION" = "$OSS_VERSION" ] && [ "$OSS_VERSION" = "$WEB_VERSION" ] && [ "$WEB_VERSION" = "$TS_CLIENT_VERSION" ] && [ "$TS_CLIENT_VERSION" = "$PY_CLIENT_VERSION" ] && [ "$PY_CLIENT_VERSION" = "$PY_SDK_VERSION" ] && [ "$PY_SDK_VERSION" = "$API_VERSION" ] && [ "$API_VERSION" = "$SERVICES_VERSION" ]; then
echo "VERSIONS_MATCH=true" >> $GITHUB_OUTPUT
echo "NEW_VERSION=$WEB_VERSION" >> $GITHUB_OUTPUT
else
Expand All @@ -131,6 +140,7 @@ jobs:
- (web)
- web/oss
- web/ee
- clients/typescript
- clients/python
- sdks/python
- api
Expand Down
2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "api"
version = "0.99.3"
version = "0.99.4"
description = "Agenta API"
requires-python = ">=3.11,<3.14"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion api/uv.lock

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

2 changes: 1 addition & 1 deletion clients/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agenta-client"
version = "0.99.3"
version = "0.99.4"
description = "Fern-generated Python client for the Agenta API."
requires-python = ">=3.11,<3.14"
authors = [
Expand Down
203 changes: 203 additions & 0 deletions clients/python/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdks/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agenta"
version = "0.99.3"
version = "0.99.4"
description = "The SDK for agenta is an open-source LLMOps platform."
readme = "README.md"
requires-python = ">=3.11,<3.14"
Expand Down
4 changes: 2 additions & 2 deletions sdks/python/uv.lock

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

2 changes: 1 addition & 1 deletion services/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "services"
version = "0.99.3"
version = "0.99.4"
description = "Agenta Services (Chat & Completion)"
requires-python = ">=3.11,<3.14"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion services/uv.lock

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

2 changes: 1 addition & 1 deletion web/ee/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agenta/ee",
"version": "0.99.3",
"version": "0.99.4",
"private": true,
"engines": {
"node": "24.x"
Expand Down
2 changes: 1 addition & 1 deletion web/oss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agenta/oss",
"version": "0.99.3",
"version": "0.99.4",
"private": true,
"engines": {
"node": "24.x"
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agenta-web",
"version": "0.99.3",
"version": "0.99.4",
"workspaces": [
"ee",
"oss",
Expand Down
2 changes: 1 addition & 1 deletion web/packages/agenta-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agenta/api-client",
"version": "0.0.0-dev",
"version": "0.99.4",
"private": true,
"type": "module",
"main": "./dist/index.js",
Expand Down
Loading