aragonosx:upgrade
Update an installed plugin to a newer build via the Plugin Setup Processor.
Syntax
Section titled “Syntax”aragonosx:upgrade <plugin> [...params]Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
plugin | plugin | Installed plugin to update |
[...params] | any | Plugin update parameters |
Options
Section titled “Options”| Name | Type | Description |
|---|---|---|
--version | string | Target version as |
Examples
Section titled “Examples”# Update the token-voting plugin to the latest build of its releasearagonosx:connect mydao ( aragonosx:propose multisig ( aragonosx:upgrade token-voting ))- OSx only updates builds within the same release; upgrading across releases requires uninstalling and reinstalling.
- Must run inside a
proposeoractblock. The emitted sequence temporarily grants the Plugin Setup ProcessorUPGRADE_PLUGIN_PERMISSIONon the plugin (andROOT_PERMISSIONon the DAO) and revokes both afterwards.