Version: Unity 6.6 Alpha (6000.6)
Language : English
Sign a package using Editor command line arguments
Install Unity Package Manager CLI

Unity Package Manager CLI workflow

Follow this workflow to pack and sign custom Unity packages using the Unity Package Manager command-line interface (UPM CLI).

UPM CLI is a standalone tool that you can run from a terminal or integrate into a continuous integration (CI) pipeline. It’s useful if you create packages and want to sign them outside of the Unity Editor or without the scripting API, especially in automated environments.

To pack and sign a package with UPM CLI, complete the following tasks:

  1. Install UPM CLI
  2. Pack and sign a package

Prerequisites

Before you use UPM CLI, set up your environment as described in UPM CLI prerequisites:

  • Create a service account for your Unity organization. This is a one-time setup.
  • Set the service account credentials in environment variables on your local computer or CI tool.
  • Copy your organization ID from the Unity Cloud Dashboard.

Install UPM CLI

Install the UPM CLI tool on your local computer or CI environment. You need to install the tool only once, then update it each time a newer version is available.

For details, refer to Install Unity Package Manager CLI.

Pack and sign a package

Use the upm pack command to pack a custom package into a signed tarball (.tgz) file that you can distribute or publish. Run this command each time you want to create a signed package.

For details, refer to Pack and sign a package with Unity Package Manager CLI.

Additional resources

Sign a package using Editor command line arguments
Install Unity Package Manager CLI