We are using sed to inject the build version into the templates during the CI pipeline.
This command will backup the original file by copying to template.jsonbak.
dotnet pack the templates will embark this backup file when it's actually not intended.
Exclude it from the packages.
We are using
sed
to inject the build version into the templates during the CI pipeline. This command will backup the original file by copying totemplate.jsonbak
.dotnet pack
the templates will embark this backup file when it's actually not intended. Exclude it from the packages.