Build and Package For Sharing and Releasing

Purpose

In the previous step, you learned how to create packages with the --package argument. This argument creates packages in your local filesystem only. It does not copy nor associate these packages with the FuzeID in the FuzeDB.

If you wish to attach the built packages to the FuzeID in the FuzeDB, and therefore make those packages available for sharing or releasing, you must use the --add-packages argument.

In this step, you will learn how to use the --add-packages argument.

Prerequisites

  1. Docker installed and correct container type is selected (if on Windows Host OS)

  2. Fuzeapp installed.

  3. workspace.ini file created and located in C:\code (Windows) or ~/code (Linux or MacOS)

  4. Workspace created with therepo

Your workspace file system looks like:

c:\code or ~/code
    - workspace.ini
    - \therepo

Build and Package biometric target of a Product

Execute the following commands:

$ cd ~/code
$ fuze --build-map therepo/build/mybuildmap.json --target release --add-packages release

Success Indications

If successful, you will see the following indications in the stdout:

++++++++++++++++++++++++++++++++
[product] build status: SUCCESS
++++++++++++++++++++++++++++++++

...

++++++++++++++++++++++++++++++++
[product] packaging status: SUCCESS
++++++++++++++++++++++++++++++++

...
++++++++++++++++++++++++++++++++
Fuze ID is <FuzeID>
++++++++++++++++++++++++++++++++

To verify the packages have been added to the FuzeID in the FuzeDB, view the FuzeID in the Fuze WebUI.