diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9bc679476f..61a3e2dee79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,7 @@ jobs: - name: Check Version id: check-version run: | - version=$(uv tree | grep 'langflow-base' | awk '{print $3}') + version=$(uv tree | grep 'langflow-base' | awk '{print $3}' | sed 's/^v//') last_released_version=$(curl -s "https://pypi.org/pypi/langflow-base/json" | jq -r '.releases | keys | .[]' | sort -V | tail -n 1) if [ "$version" = "$last_released_version" ]; then echo "Version $version is already released. Skipping release."