# `mix firmware.metadata`
[🔗](https://github.com/nerves-project/nerves/blob/v1.14.1/lib/mix/tasks/firmware.metadata.ex#L6)

This task calls `fwup` to report the firmware stored in the currently built
firmware bundle. No firmware is built, so this task will fail if the firmware
bundle doesn't exist.

Note: Rebuilding firmware will almost certainly change the UUID if the build
is not [reproducible](https://reproducible-builds.org/).

## Command line options

  * `--firmware <name>` - (Optional) The path to the fw file to use.
    Defaults to `<image_path>/<otp_app>.fw`

## Examples

```
$ mix firmware.metadata
meta-product="my_firmware"
meta-description="A description"
meta-version="1.0.0"
meta-author="me"
meta-platform="rpi"
meta-architecture="arm"
meta-creation-date="2020-01-31T21:15:25Z"
meta-uuid="62f80587-ce82-59c4-4200-9c92df9849fd"
```

# `firmware_file`

```elixir
@spec firmware_file(keyword()) :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
