Commit 0e5aac9
fix(docker): strip NBGV in Docker build for correct version stamping
NBGV unconditionally overrides -p:InformationalVersion when its MSBuild
task runs. Since .dockerignore excludes .git, NBGV falls back to a
stale version. Fix: sed removes the NBGV PackageReference from
Directory.Build.props inside the Docker build stage, letting the
explicit VERSION build arg take effect.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 194f528 commit 0e5aac9
3 files changed
Lines changed: 25 additions & 0 deletions
File tree
- .ai-team
- agents/forge
- decisions/inbox
- samples/AfterBlazorServerSide
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments