Skip to content

Commit 80145a6

Browse files
committed
codemeta2cff generates 1.2.0 fields
1 parent eb2b08d commit 80145a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

codemeta/codemeta.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ func (person *PersonOrOrganization) ToCFF() ([]byte, error) {
7474
// CITATION.cff document as an array of byte.
7575
// Based on documentation at https://citation-file-format.github.io/
7676
func (cm *Codemeta) ToCff() ([]byte, error) {
77-
src := []byte(fmt.Sprintf(`# YAML 1.2
78-
cff-version: 1.2.0
77+
src := []byte(fmt.Sprintf(`cff-version: 1.2.0
7978
message: "If you use this software, please cite it as below."
8079
title: %s
8180
authors:`, cm.Name))

0 commit comments

Comments
 (0)