From d454f6f782b0a915d12542e42c5ee636bd61c697 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Wed, 11 Feb 2026 11:46:11 -0500 Subject: [PATCH] fix(client) Fix mistakes in the client release tools - Add a name to the workflow. - Fix changelogPolicy deprecation - Define NEW_VERSION Refs STREAM-717 --- .github/workflows/release-client.yml | 2 ++ clients/.craft.yml | 4 +++- scripts/bump-version-clients.sh | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-client.yml b/.github/workflows/release-client.yml index f9c7d544..4dd1148e 100644 --- a/.github/workflows/release-client.yml +++ b/.github/workflows/release-client.yml @@ -1,3 +1,5 @@ +name: Release client libraries + on: workflow_dispatch: inputs: diff --git a/clients/.craft.yml b/clients/.craft.yml index 62b573ba..4c282703 100644 --- a/clients/.craft.yml +++ b/clients/.craft.yml @@ -1,6 +1,8 @@ -changelogPolicy: auto preReleaseCommand: ../scripts/bump-version-clients.sh +changelog: + policy: auto + targets: - name: github - name: pypi diff --git a/scripts/bump-version-clients.sh b/scripts/bump-version-clients.sh index b5f73a13..7c8efa3c 100755 --- a/scripts/bump-version-clients.sh +++ b/scripts/bump-version-clients.sh @@ -4,6 +4,9 @@ set -euo pipefail SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOT_DIR=$(dirname $SCRIPT_DIR) +OLD_VERSION="${1}" +NEW_VERSION="${2}" + cd $ROOT_DIR/clients/python uv version "${NEW_VERSION}"