Skip to content

Fix publish condition for npm-publish v4#17

Merged
rom1504 merged 1 commit intomasterfrom
fix-publish-condition
Mar 28, 2026
Merged

Fix publish condition for npm-publish v4#17
rom1504 merged 1 commit intomasterfrom
fix-publish-condition

Conversation

@rom1504
Copy link
Copy Markdown
Member

@rom1504 rom1504 commented Mar 28, 2026

Summary

  • Change if: steps.publish.outputs.type != 'none' to if: ${{ steps.publish.outputs.type }}

npm-publish v4 outputs an empty string when the version is unchanged (v1 used none). The old condition was always true, causing the Create Release step to run and fail on every non-release commit.

🤖 Generated with Claude Code

npm-publish v4 outputs empty string (not 'none') when version is
unchanged. The old condition != 'none' was always true, causing
Create Release to run and fail on every non-release commit.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rom1504 rom1504 merged commit 470e691 into master Mar 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant