1 parent 5323906 commit 0a6a02dCopy full SHA for 0a6a02d
1 file changed
.github/workflows/publish.yml
@@ -60,6 +60,12 @@ jobs:
60
# Get version from main package
61
VERSION=$(node -p "require('./packages/connect/package.json').version")
62
63
+ # Skip if release already exists
64
+ if gh release view "v$VERSION" > /dev/null 2>&1; then
65
+ echo "Release v$VERSION already exists, skipping"
66
+ exit 0
67
+ fi
68
+
69
# Create release
70
gh release create "v$VERSION" \
71
--title "v$VERSION" \
0 commit comments