mirror of https://github.com/coder/code-server.git
Fix npm publish
Unlike yarn publish, there is no --non-interactive and you cannot specify a directory, you have to move into it first.
This commit is contained in:
parent
344df3875f
commit
2c1981bfb9
|
@ -142,7 +142,8 @@ main() {
|
||||||
|
|
||||||
# Since the dev builds are scoped to @coder
|
# Since the dev builds are scoped to @coder
|
||||||
# We pass --access public to ensure npm knows it's not private.
|
# We pass --access public to ensure npm knows it's not private.
|
||||||
npm publish --non-interactive release --tag "$NPM_TAG" --access public
|
cd release
|
||||||
|
npm publish --tag "$NPM_TAG" --access public
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in New Issue