Environment variables and external tools#
This page lists the environment variables repoplone reads, and the commands it runs.
Environment variables#
repoplone reads two environment variables.
Variable |
Used by |
Purpose |
|---|---|---|
|
|
Checks that the token can read the repository’s releases, then creates the GitHub release. |
|
|
Counts as PyPI authentication in the checks before the release. |
Without GITHUB_TOKEN, in an interactive terminal, repoplone offers to use the token of the GitHub CLI.
External commands#
repoplone runs these commands.
Each must be on the PATH for the commands that need it.
Command |
Run by |
Purpose |
|---|---|---|
|
|
Checks PyPI authentication when |
|
|
Builds and uploads Python packages. |
|
|
Checks npm authentication. |
|
|
Releases Node packages with |
|
|
Builds changelogs. Requires towncrier 25.8.0 or later. |
|
|
Reads a GitHub token, after a confirmation. |
|
|
Installs a component and updates its lockfile. |
repoplone also uses git, through GitPython, and hatch, to read and set the version of Python packages.
Network access#
These commands read from the network, with a timeout of 5 seconds per request.
Endpoint |
Read by |
|---|---|
|
|
|
|
|
|
|
|
|
|
See also
Authenticate to PyPI, npm, and GitHub, to set up the tokens.