File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
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/"
Original file line number Diff line number Diff line change @@ -86,11 +86,17 @@ echo "$SAGE_VERSION_BANNER" > "$SAGE_ROOT/VERSION.txt"
86
86
# Regenerate auto-generated files tarball
87
87
" $SAGE_ROOT /bootstrap" -s
88
88
89
+ # Create CITATION file for Zenodo-GitHub integration
90
+ export SAGE_VERSION
91
+ export SAGE_RELEASE_DATE
92
+ envsubst < " $SAGE_ROOT /CITATION.cff.in" > " $SAGE_ROOT /CITATION.cff"
93
+
89
94
# Commit auto-generated changes
90
95
git commit -m " Updated SageMath version to $SAGE_VERSION " -- \
91
96
" $SAGE_ROOT /VERSION.txt" \
92
97
" $SAGE_SRC /sage/version.py" \
93
98
" $SAGE_SRC /VERSION.txt" \
99
+ " $SAGE_SRC /CITATION.cff" \
94
100
" $SAGE_SRC /bin/sage-version.sh" \
95
101
" $SAGE_ROOT /build/pkgs/configure/checksums.ini" \
96
102
" $SAGE_ROOT /build/pkgs/configure/package-version.txt" \
You can’t perform that action at this time.
0 commit comments