[
GR
](/u/2e6b02f6)
Guido Rosso
Admin
Rive Staff
This release lets you publish libraries from the CLI. rive library publish turns your project's Rive file into a library, or publishes its next version. Before, you had to open the file in the editor to publish it. On Windows, rive . --android now previews on Android devices and rive login works on Windows 10. rive push now asks before it overwrites a linked file, so CI and scripts need --yes. Update with rive update (curl install) or brew upgrade --cask rive-cli.
Libraries
📦 Publish a library: rive library publish publishes the project's Rive file as a library, so other files can import its artboards, view models, enums, scripts and shaders. The first run creates the library and every later run publishes a new version. Artboards with isComponent="true" publish, and view models, enums, scripts and shaders always do. Before it publishes, it lists what the new version adds and what it removes, then asks. --description=<text> adds a note to the version and --yes skips the question. A version is made from the file's content, so the command pushes the project first: pull before publishing if someone else works in the file. The project must be linked to a file, so run rive push once before your first publish. Publishing libraries needs a Voyager plan or higher. …