@@ -165,10 +165,10 @@ Using the script
165
165
166
166
Run the ``build-packages.sh `` script in the ``dev-tools/build-packages/ `` folder of the repository. The script requires the following parameters:
167
167
168
+ - ``-c ``, ``--commit-sha ``: Set the commit sha of this build.
168
169
- ``-a ``, ``--app ``: Indicate the path to ``wazuh-package.zip ``.
169
170
- ``-b ``, ``--base ``: Indicate the path to ``dashboard-package.zip ``.
170
171
- ``-s ``, ``--security ``: Indicate the path to ``security-package.zip ``.
171
- - ``-v ``, ``--version ``: Set the version for this build.
172
172
- ``--all-platforms ``: Build the packages for all platforms.
173
173
- ``--deb ``: Build a deb package.
174
174
- ``--rpm ``: Build an rpm package.
@@ -182,7 +182,7 @@ Run the ``build-packages.sh`` script in the ``dev-tools/build-packages/`` folder
182
182
.. code :: console
183
183
184
184
$ cd ../wazuh-dashboard/dev-tools/build-packages/
185
- $ ./build-packages.sh -v <VERSION> - r <REVISION> --<DISTRIBUTION> -a file:///<PATH_TO_wazuh-package.zip> -s file:///<PATH_TO_security-package.zip> -b file:///<PATH_TO_dashboard-package.zip>
185
+ $ ./build-packages.sh -r <REVISION> --<DISTRIBUTION> -a file:///<PATH_TO_wazuh-package.zip> -s file:///<PATH_TO_security-package.zip> -b file:///<PATH_TO_dashboard-package.zip>
186
186
187
187
Where ``--<DISTRIBUTION> `` is either ``--deb ``, ``--rpm ``, ``--tar ``, or ``--all-platforms ``.
188
188
@@ -199,7 +199,7 @@ Example:
199
199
.. code :: console
200
200
201
201
$ cd ../wazuh-dashboard/dev-tools/build-packages/
202
- $ ./build-packages.sh -v v|WAZUH_CURRENT| - r 1 --deb -a file:///packages/wazuh-package.zip -s file:///packages/security-package.zip -b file:///packages/dashboard-package.zip
202
+ $ ./build-packages.sh -r 1 --deb -a file:///packages/wazuh-package.zip -s file:///packages/security-package.zip -b file:///packages/dashboard-package.zip
203
203
204
204
The script generates the package in the ``output `` folder of the same directory where it is located.
205
205
0 commit comments