Skip to content

Commit 808a45c

Browse files
alejandromumoslint
authored andcommitted
github: lower license spdx id
1 parent a736fb5 commit 808a45c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

invenio_rdm_records/services/github/release.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def metadata(self):
6464

6565
# Add default license if not yet added
6666
if not output.get("rights"):
67-
output.update({"rights": [{"id": metadata.repo_license or "cc-by-4.0"}]})
67+
output.update(
68+
{"rights": [{"id": metadata.repo_license.lower() or "cc-by-4.0"}]}
69+
)
6870
return output
6971

7072
def get_custom_fields(self):

0 commit comments

Comments
 (0)