Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hermes/commands/deposit/invenio.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from hermes.error import MisconfigurationError
from hermes.model.context import CodeMetaContext
from hermes.model.path import ContextPath
from hermes.utils import hermes_doi, hermes_user_agent
from hermes.utils import hermes_concept_doi, hermes_user_agent


_log = logging.getLogger("cli.deposit.invenio")
Expand Down Expand Up @@ -385,7 +385,7 @@ def related_identifiers(self):
"""
return [
{
"identifier": hermes_doi,
"identifier": hermes_concept_doi,
"relation": "isCompiledBy",
"scheme": "doi",
},
Expand Down
2 changes: 1 addition & 1 deletion src/hermes/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def retrieve_project_urls(metadata_urls: list[str]) -> dict[str, str]:

# Publication metadata
# TODO: Fetch this from somewhere
hermes_doi = "10.5281/zenodo.14931650" # "10.5281/zenodo.13311079" for hermes v0.8.1
hermes_doi = "10.5281/zenodo.21643617" # hermes 0.9.1
hermes_doi_url = "https://doi.org/10.5281/zenodo.14931650"
hermes_concept_doi = "10.5281/zenodo.13221383"
"""Fix "concept" DOI that always refers to the newest version."""
Expand Down
Loading