Skip to content

Commit

Permalink
fix intrawork relationtype
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Jun 15, 2024
1 parent 7388fce commit 9b069c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
},
}

Expand Down
2 changes: 1 addition & 1 deletion crossrefxml/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit 9b069c1

Please sign in to comment.