Skip to content

Commit

Permalink
fix: publish error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Aug 20, 2024
1 parent 6b2fd39 commit 226b81d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/node-bind-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ jobs:
- name: Publish
run: |
if git log -1 --pretty=%B | grep "^release: [0-9]\+\.[0-9]\+\.[0-9]\+"; then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
pnpm --filter @umijs/mako publish --access public
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
pnpm --filter @umijs/mako publish --access public --no-git-checks
else
echo "Not a release, skipping publish"
fi
Expand Down
4 changes: 3 additions & 1 deletion packages/mako/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"defaults": false,
"additional": [
"aarch64-apple-darwin",
"i686-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl"
]
Expand Down Expand Up @@ -78,4 +80,4 @@
"@umijs/mako-linux-x64-musl": "0.8.2"
},
"repository": "[email protected]:umijs/mako.git"
}
}

0 comments on commit 226b81d

Please sign in to comment.