Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

fix ci (#1428)

Aman Agarwalfcebb5543846
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ebeb3db6..1d5b7d67 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -320,7 +320,7 @@ jobs:
RELEASE_SHA=$SOURCE_SHA
fi
- EXISTING_TAG_SHA=$(git rev-parse "${RELEASE_TAG}^{commit}" 2>/dev/null || true)
+ EXISTING_TAG_SHA=$(git rev-parse --verify "refs/tags/${RELEASE_TAG}^{commit}" 2>/dev/null || true)
if [ -n "$EXISTING_TAG_SHA" ]; then
if [ "$EXISTING_TAG_SHA" != "$RELEASE_SHA" ]; then
echo "::error::release tag already exists on a different commit"