Environment version source¶環境バージョンソース¶
Retrieves the version from an environment variable. This can be useful in build pipelines where the version is set by an external trigger.環境変数からバージョンを取得します。これは、バージョンが外部トリガーによって設定されるビルドパイプラインで便利です。
Updates¶更新¶
Setting the version is not supported.バージョンの設定はサポートされていません。
Configuration¶設定¶
The version source plugin name is env.バージョンソースプラグイン名は env です。
[tool.hatch.version]
source = "env"
[version]
source = "env"
Options¶オプション¶
| Optionオプション | Description説明 |
|---|---|
variable (required)variable (必須) | The name of the environment variable環境変数の名前 |