You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rez packages can be built and deployed to the :data:`release_packages_path`
6
+
using the :ref:`rez-release` tool. This tool performs the following actions:
7
+
8
+
* All :doc:`actions <building_packages>` that the ``rez-build`` tool performs.
9
+
* Executes all configured :data:`release_hooks`.
10
+
* Executes all configured :gh-rez:`src/rezplugins/release_vcs` plugins.
11
+
12
+
When to release vs build
13
+
============================
14
+
Packages *can* be installed to the :data:`release_packages_path` manually
15
+
by running :option:`rez-build -i --prefix /path/to/repo <rez-build --prefix>`, so why would you use
16
+
``rez-release``?
17
+
18
+
Well, here are a few benefits of ``rez-release``:
19
+
20
+
* The package will automatically go to the configured :data:`release_packages_path`, whereas :ref:`rez-build` will go to the :data:`local_packages_path` by default.
21
+
* Tests being run by with the :ref:`rez-test` tool can run specifically prior to release, ensuring that releases pass any configured tests first.
22
+
* Automatic sanity checks to ensure local repo is ready for release.
23
+
* Automatic VCS tagging.
24
+
* Many :ref:`helpful package attributes <release-package-attributes>` are automatically added to the released package definition file.
25
+
26
+
If you're working locally, it these additional steps and checks may slow you
27
+
down, so it may be better to stick with :ref:`rez-build`.
0 commit comments