mirror of
https://github.com/coder/code-server.git
synced 2024-11-21 15:40:19 +03:00
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
|
||||
# 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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user