Skip to content

Commit

Permalink
fix date-released field and remove license from CITATION.cff to make …
Browse files Browse the repository at this point in the history
…cffconvert action work
  • Loading branch information
fdiblen committed Sep 2, 2024
1 parent aa0a84c commit 419e7c3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions template/{% if AddCitation %}CITATION.cff{% endif %}.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,14 @@
cff-version: "1.2.0"
title: "{{ package_name }}"
authors:
-
family-names: {{ full_name.replace('\"', '\\\"').split(' ')[-1] }}
- family-names: {{ full_name.replace('\"', '\\\"').split(' ')[-1] }}
given-names: {{ full_name.replace('\"', '\\\"').split(' ')[0] }}
orcid: "https://orcid.org/0000-0000-0000-0000"
date-released: 20??-MM-DD
doi: <insert your DOI here>
date-released: {{ '%Y-%m-%d' | strftime }}
version: "{{ version }}"
repository-code: "{{ repository_url }}"
keywords:
{%- for item in keywords.split(',') %}
- "{{ item }}"
{%- endfor %}
message: "If you use this software, please cite it using these metadata."
{{ { "Apache Software License 2.0": "license: Apache-2.0",
"MIT license": "license: MIT",
"BSD license": "license: BSD-3-Clause",
"ISC license": "license: ISC",
"GNU General Public License v3 or later": "license: GPL-3.0-or-later",
"Not open source": ""
}[license] }}

0 comments on commit 419e7c3

Please sign in to comment.