Fallout-build/Fallout

Environment Variables prepended with `FALLOUT_` don't work.

Open

#457 创建于 2026年6月30日

在 GitHub 查看
 (4 评论) (0 反应) (1 负责人)C# (1 fork)github user discovery
buggood first issuetarget/2026target/vCurrent

仓库指标

Star
 (43 star)
PR 合并指标
 (平均合并 2天 15小时) (30 天内合并 63 个 PR)

描述

Usage Information

10.3.49

Description

Contrary to the information stated in the documentation for Parameters, the code is still looking for NUKE_.

Problem Code: https://github.com/Fallout-build/Fallout/blob/f57634c5636bf5ba4fd0f49eaf0f8360697abcb3/src/Fallout.Build/Execution/ParameterService.cs#L192

I can create a PR later to address this, but I am unsure if it should also remain compatible with NUKE_. LMK what you think.

Reproduction Steps

  1. Create Build Project
  2. Add a string parameter.
  3. Assert in target when parameter is null.
  4. export FALLOUT_MY_PARAMETER_NAME="hello"
  5. Run build, reach assertion.
  6. export NUKE_MY_PARAMETER_NAME="hello"
  7. Run build, no assertion.

Expected Behavior

Environment variables prepended with FALLOUT_ should be used for parameters as per documentation.

Actual Behavior

See Repro.

Regression?

Kind of. Technically?

Known Workarounds

No response

Could you help with a pull-request?

Yes

贡献者指南