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 79a1155 commit 66bd70eCopy full SHA for 66bd70e
1 file changed
.github/workflows/auto-release.yml
@@ -65,14 +65,14 @@ jobs:
65
run: |
66
TAG_VERSION="${{ steps.meta.outputs.clean_version }}"
67
PKG_VERSION=$(node -p "require('./package.json').version")
68
-
+
69
if [ "$TAG_VERSION" != "$PKG_VERSION" ]; then
70
echo "Version mismatch: Tag ($TAG_VERSION) != Package ($PKG_VERSION). Syncing..."
71
npm version $TAG_VERSION --no-git-tag-version --allow-same-version
72
else
73
echo "Versions match ($TAG_VERSION). Proceeding..."
74
fi
75
76
npm publish --provenance --access public --tag ${{ steps.meta.outputs.npm_tag }}
77
env:
78
CI: true
0 commit comments