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:
Asher 2024-11-06 12:57:57 -09:00
parent 344df3875f
commit 2c1981bfb9
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
1 changed files with 2 additions and 1 deletions

View File

@ -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 "$@"