Skip to content

Commit 7e0eb1c

Browse files
author
Release Manager
committed
gh-35666: remove obsolete .zenodo.json* files, update CITATION.cff to fix zenodo/DOI Our DOI creation/update via zenodo is broken again. `CITATION.cff` overrides `.zenodo.json`, cf. citation-file-format/citation-file-format#374 This will fix #35659 URL: #35666 Reported by: Dima Pasechnik Reviewer(s): Frédéric Chapoton, Matthias Köppe
2 parents 86d2be0 + 532b0de commit 7e0eb1c

File tree

4 files changed

+16
-32
lines changed

4 files changed

+16
-32
lines changed

.zenodo.json.in

Lines changed: 0 additions & 27 deletions
This file was deleted.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ title: SageMath
44
abstract: SageMath is a free open-source mathematics software system.
55
authors:
66
- name: "The SageMath Developers"
7-
version: 9.5
7+
version: 10.0
88
doi: 10.5281/zenodo.593563
9-
date-released: 2022-01-18
9+
date-released: 2023-05-20
1010
repository-code: "https://github.com/sagemath/sage"
1111
url: "https://www.sagemath.org/"

CITATION.cff.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
cff-version: 1.2.0
2+
message: "If you use this software, please cite it as below."
3+
title: SageMath
4+
abstract: SageMath is a free open-source mathematics software system.
5+
authors:
6+
- name: "The SageMath Developers"
7+
version: ${SAGE_VERSION}
8+
doi: 10.5281/zenodo.593563
9+
date-released: ${SAGE_RELEASE_DATE}
10+
repository-code: "https://github.com/sagemath/sage"
11+
url: "https://www.sagemath.org/"

src/bin/sage-update-version

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,17 +86,17 @@ echo "$SAGE_VERSION_BANNER" > "$SAGE_ROOT/VERSION.txt"
8686
# Regenerate auto-generated files tarball
8787
"$SAGE_ROOT/bootstrap" -s
8888

89-
# Create json file for Zenodo
89+
# Create CITATION file for Zenodo-GitHub integration
9090
export SAGE_VERSION
9191
export SAGE_RELEASE_DATE
92-
envsubst <"$SAGE_ROOT/.zenodo.json.in" >"$SAGE_ROOT/.zenodo.json"
92+
envsubst <"$SAGE_ROOT/CITATION.cff.in" >"$SAGE_ROOT/CITATION.cff"
9393

9494
# Commit auto-generated changes
9595
git commit -m "Updated SageMath version to $SAGE_VERSION" -- \
9696
"$SAGE_ROOT/VERSION.txt" \
97-
"$SAGE_ROOT/.zenodo.json" \
9897
"$SAGE_SRC/sage/version.py" \
9998
"$SAGE_SRC/VERSION.txt" \
99+
"$SAGE_ROOT/CITATION.cff" \
100100
"$SAGE_SRC/bin/sage-version.sh" \
101101
"$SAGE_ROOT/build/pkgs/configure/checksums.ini" \
102102
"$SAGE_ROOT/build/pkgs/configure/package-version.txt" \

0 commit comments

Comments
 (0)