We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9ba904 commit 3c0f97cCopy full SHA for 3c0f97c
1 file changed
pkg/cmd/package/nuget/create/create.go
@@ -305,6 +305,9 @@ func GenerateNuSpec(opts *NuPkgCreateOptions) (string, error) {
305
sb.WriteString(" <metadata>\n")
306
sb.WriteString(" <id>" + opts.Id.Value + "</id>\n")
307
sb.WriteString(" <version>" + opts.Version.Value + "</version>\n")
308
+ if opts.Title.Value != "" {
309
+ sb.WriteString(" <title>" + opts.Title.Value + "</title>\n")
310
+ }
311
sb.WriteString(" <description>" + opts.Description.Value + "</description>\n")
312
sb.WriteString(" <authors>" + strings.Join(opts.Author.Value, ",") + "</authors>\n")
313
if releaseNotes != "" {
0 commit comments