We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784254c commit 915b11cCopy full SHA for 915b11c
1 file changed
.github/workflows/release.yml
@@ -80,6 +80,11 @@ jobs:
80
if: github.event_name == 'push'
81
run: |
82
VERSION="${{ steps.get_version.outputs.VERSION }}"
83
+ # Skip if this exact version is already published (idempotent reruns)
84
+ if npm view xcodebuildmcp@"$VERSION" version >/dev/null 2>&1; then
85
+ echo "✅ xcodebuildmcp@$VERSION already on NPM. Skipping publish."
86
+ exit 0
87
+ fi
88
# Determine the appropriate npm tag based on version
89
if [[ "$VERSION" == *"-beta"* ]]; then
90
NPM_TAG="beta"
0 commit comments