Configuration options for the Release CLI
releasewill store its configuration file at
$HOME/.release.yaml. There are two methods for overriding the default configuration:
- 1.Set the
RELEASE_CONFIGenvironment variable to another file path containing your configuration.
- 2.Provide the path to a different configuration file to the
--configflag as part of a command.
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
--accountflag on each
releasecommand, update your
$HOME/.release.yamlwith the following:
Optionally, you can set this through the environment variable, as specified below.
Any setting can be overriden by an environment variable named
RELEASE_<KEY>. For example, to override