To build the Doppler CLI for development, you'll need Golang installed.
$ make build
$ ./doppler --versionTesting building for all release targets:
$ make test-release
To release a new version, run the release GitHub Action manually and specify whether you want to bump the major, minor, or patch version. Note that this will require approval from a CLI admin before the action will be allowed to run.
Issue: gpg: signing failed: Inappropriate ioctl for device
- Fix:
export GPG_TTY=$(tty)
Issue: After releasing, your personal account is logged out of the docker daemon
-
Fix: Log in again with this registry manually specified:
docker login https://docker.io -
Why: The release script explicitly scopes the
dopplerbotdocker login tohttps://index.docker.io/v1/. By explicitly scoping your personal login, you ensure these two logins do not conflict (and thus your personal login does not get removed on script cleanup). If not specified,dockertreats these two registries as aliases.
Store the keys and passphrase in your Doppler config
$ gpg --full-generate-key
$ gpg --list-secret-keys # copy the key's 40-character ID
$ gpg --armor --export-secret-key KEY_ID
$ gpg --armor --export KEY_ID
$ gpg --keyserver keyserver.ubuntu.com --send-key LAST_8_DIGITS_OF_KEY_ID