Use zenodo `prereserve_doi` and save DOI in codemeta file
Describe the feature you would like to see in eossr
The correct DOI of the record is written in the codemeta file.
Expected behavior?
DOI is included in codemeta.json
Note: This could also solve the issue of having to write again the record ID in the gitlab-ci file (?)
- first publicatioin: eOSSR connects to Zenodo and pre-reserve DOI
- generic DOI is added to codemeta
- next publication: just read generic DOI to get record ID
Possible way(s) to implement
Use zenodo prereserve_doi
and, write it to codemeta.json
, push back to repo, continue upload as usual.