diff --git a/cmd/version.go b/cmd/version.go index b68b182..9a14e0b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -13,7 +13,7 @@ var versionCmd = &cobra.Command{ Short: "Print the version number of commonmeta", Long: `All software has versions. This is commonmeta's`, Run: func(cmd *cobra.Command, args []string) { - cmd.Println("Commonmeta v0.3.21 -- HEAD") + cmd.Println("Commonmeta v0.3.22 -- HEAD") }, } diff --git a/crossrefxml/writer.go b/crossrefxml/writer.go index 4146323..8ac96f8 100644 --- a/crossrefxml/writer.go +++ b/crossrefxml/writer.go @@ -293,7 +293,7 @@ func Convert(data commonmeta.Data) (Body, error) { } if slices.Contains(IntraWorkRelationTypes, relation.Type) && id != "" { intraWorkRelation := &IntraWorkRelation{ - RelationshipType: relation.Type, + RelationshipType: utils.CamelCaseString(relation.Type), IdentifierType: strings.ToLower(identifierType), Text: id, }