Skip to content

armgit / BUI

Public Imported from GitHub
0

Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI

publish docs

Preetham Pemmasani91cac3f866a2
diff --git a/docs/publishing.md b/docs/publishing.md
index 28ccfb3..59a59cd 100644
--- a/docs/publishing.md
+++ b/docs/publishing.md
@@ -129,6 +129,13 @@ One-time setup:
> Settings > Trusted Publisher > GitHub Actions, and enter the owner `ppmpreetham`, the
repository `BUI` and the workflow filename `release.yml` (leave the environment empty).
The workflow publishes with OIDC and npm adds provenance by itself.
+- **A new npm package** (a new framework binding, such as `@blender-ui/svelte`) can't have a trusted
+ publisher before it exists, and a first `npm publish` from CI has no permission yet (the 404
+ "could not be found or you do not have permission"). Publish it once by hand, after
+ `@blender-ui/native` is out (it depends on it): `cd bindings/svelte && npm publish --access public`,
+ logged in as a member of the `@blender-ui` organization. Then add the trusted publisher (the same
+ form as above). Until then `release.yml` skips it with a warning and `tools/release.py` shows it
+ as MANUAL, not as a failure.
- **PyPI:** no secret, see above.
Try it without publishing: Actions > release > Run workflow, enter the tag and leave
@@ -149,8 +156,8 @@ Try it without publishing: Actions > release > Run workflow, enter the tag and l
before-all` installs the X11 headers (`libX11-devel` / `libx11-dev`), and
libX11 itself is loaded at run time, so the wheels still import on servers
without it. (This used to be a gap; it's fixed.)
-- macOS: the native Cocoa window host is new and has been tried by hand on one
- Apple Silicon Mac so far. With `BUI_HOST=tk` the wheels use the stdlib Tk window instead, which
+- macOS: the native Cocoa window host is new and has been tried by hand on two
+ Apple Silicon Macs so far. With `BUI_HOST=tk` the wheels use the stdlib Tk window instead, which
needs `tkinter` (for example from python.org or `brew install python-tk`).
- MSVC builds work (the Rust crate and the CMake build use Visual Studio's
toolchain), but the published Windows wheels are built with MinGW.