Skip to content

Commit

Permalink
Merge pull request #134 from heimalne/patch-1
Browse files Browse the repository at this point in the history
Extend README with hint how to disable plugin.
  • Loading branch information
mtkennerly committed Jul 11, 2023
2 parents 40003d9 + 006c357 commit 1047df7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ you can apply some global overrides via environment variables.
* `POETRY_DYNAMIC_VERSIONING_COMMANDS`:
You can set a comma-separated list of Poetry commands during which to activate the versioning.
For example, `build,publish` will limit the dynamic versioning to those two commands.
Similarly, setting `POETRY_DYNAMIC_VERSIONING_COMMANDS=""` will disable the dynamic versioning altogether,
which is useful in isolated environments like Docker where versions may not be computable and not needed anymore.
* `POETRY_DYNAMIC_VERSIONING_COMMANDS_NO_IO`:
Comma-separated list of Poetry commands during which the plugin should **not** directly modify files.
The plugin will still set the dynamic version in memory so that Poetry itself can write it as needed.
Expand Down

0 comments on commit 1047df7

Please sign in to comment.