Skip to content

Commit

Permalink
Fix CITATION.cff (#887)
Browse files Browse the repository at this point in the history
* Remove `version` and `date-released` attributes which mess up Zenodo metadata if not updated on every release
* Add required `message`
* Auto-validate via GHA
  • Loading branch information
dweindl authored Jul 12, 2022
1 parent c9f752a commit 9efda72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@ jobs:
- name: Install dependencies
run: .github/workflows/install_deps.sh doc amici

- name: Validate CITATION.cff
run: pip install cffconvert && cffconvert --validate

- name: Build doc
timeout-minutes: 5
run: tox -e doc
Expand Down
3 changes: 1 addition & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
message: If you use this software, please cite it using these metadata.
authors:
-
family-names: "Schälte"
Expand Down Expand Up @@ -70,6 +71,4 @@ authors:
title: "pyPESTO - Parameter EStimation TOolbox for python"
url: "https://github.com/ICB-DCM/pyPESTO"
doi: 10.5281/zenodo.2553546
version: 0.2.7
date-released: 2021-03-08
cff-version: 1.2.0

0 comments on commit 9efda72

Please sign in to comment.