Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@ jobs:
PACKAGE_VERSION=$(node -p "require('./package.json').version")
echo "version=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
echo "📦 Package.json version: $PACKAGE_VERSION"
- name: Get version from Release tag
id: release_version
run: |
RELEASE_VERSION=${GITHUB_REF#refs/tags/v}
echo "version=$RELEASE_VERSION" >> $GITHUB_OUTPUT
echo "🏷️ Release tag version: $RELEASE_VERSION"
- name: Verify version consistency
run: |
PACKAGE_V="${{ steps.package_version.outputs.version }}"
RELEASE_V="${{ steps.release_version.outputs.version }}"
if [ "$PACKAGE_V" != "$RELEASE_V" ]; then
echo "::error::❌ Version mismatch! package.json: $PACKAGE_V, tag: $RELEASE_V"
exit 1
fi
echo "✅ Version match: $PACKAGE_V"
- name: Check if version exists on npm
id: npm_check
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@trpc/client": "^11.0.1",
"@trpc/react-query": "^11.0.1"
},
"version": "1.0.8",
"version": "1.0.9",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
Expand Down