.NET build fails because Git commit metadata is missing
A build step failed (exit code 100). The full output is in the deploy log.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen175 times · 56 variants
WhereDocker Compose, Dockerfile, ASP.NET +3 moreDocker Compose, Dockerfile, ASP.NET, Nestjs, Node.js, Rails
StatusObserved (2.1.0)Our team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The .NET publish step reaches the Umbraco build targets, which require a short Git commit ID for versioning. The build context does not provide that value, likely because the checkout is shallow or Git metadata is unavailable inside the image. The failure occurs during dotnet publish, before the application starts.
What the log looks like
Deploy log
#12 18.52 /root/.nuget/packages/umbraco.gitversioning.extensions/0.2.0/build/Umbraco.GitVersioning.Extensions.targets(5,5): error MSB4044: The "GetUmbracoBuildVersion" task was not given a value for the required parameter "GitCommitIdShort".#12 ERROR: process "/bin/sh -c dotnet publish 'src/Umbraco.Web.UI/Umbraco.Web.UI.csproj' -c Release -o out --nologo" did not complete successfully: exit code: 1