Skip to content

Commit ab729dd

Browse files
committed
build fix
1 parent e2146ad commit ab729dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

publish.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
2-
3-
npm run build
2+
yarn version --new-version $1
3+
yarn build
44
cp package.json ./dist
55
cp README.md ./dist
6-
cd ./dist
7-
npm publish --access public
6+
(cd ./dist && yarn publish --access public --new-version $1)

0 commit comments

Comments
 (0)