Search
K
Links

Configuration

Configuration options for the Release CLI
By default, the Release CLI configuration file is stored at $HOME/.release.yaml.
You can override the default configuration in two ways:
  1. 1.
    Set the RELEASE_CONFIG environment variable to the file path containing your configuration.
  2. 2.
    Provide the path to your configuration file with the --config flag as part of a command.

Settings

The configuration file contains the following settings fields, which will be used globally unless overridden:
  • account (optional): The name or ID of the default Release account.
  • app (optional): The name or ID of the default Release app.
If you would like to avoid specifying the --account flag on each release command, update your $HOME/.release.yaml with the following:
account: YOUR_ACCOUNT_NAME

Environment variables

You can optionally override any setting using environment variables following the RELEASE_<KEY> naming convention. For example, to override account, set RELEASE_ACCOUNT=MyAccount.