From 9e183e19d08f36b4116bcaf4797f0d669932a288 Mon Sep 17 00:00:00 2001
From: Bjoern Ludwig <bjoern.ludwig@ptb.de>
Date: Sat, 21 Jan 2023 03:34:22 +0100
Subject: [PATCH] feat(DOI): introduce DOI into metadata and README badge

---
 CITATION.cff | 7 ++++++-
 README.md    | 2 ++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/CITATION.cff b/CITATION.cff
index eb5e7ce..a8853c6 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -43,4 +43,9 @@ keywords:
   - EMPIR
 license: MIT
 version: 0.5.0
-date-released: '2023-01-16'
+identifiers:
+  - description: >-
+      This is the general DOI to cite all versions of the software. To cite a specific
+      version, please check the README or the Zenodo webpage.
+    type: doi
+    value: "10.5281/zenodo.7556142"
diff --git a/README.md b/README.md
index 5d00caa..681f0d9 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@
 [![Documentation Status](https://readthedocs.org/projects/zema-emc-annotated/badge/?version=latest)](https://zema-emc-annotated.readthedocs.io/en/latest/?badge=latest)
 [![coverage report](https://gitlab1.ptb.de/m4d/zema_emc_annotated/badges/main/coverage.svg)](https://gitlab1.ptb.de/m4d/zema_emc_annotated/-/commits/main)
 [![Latest Release](https://gitlab1.ptb.de/m4d/zema_emc_annotated/-/badges/release.svg)](https://github.com/PTB-M4D/zema_emc_annotated/releases/latest)
+[![DOI](https://zenodo.org/badge/591514193.svg)](https://doi.org/10.5281/zenodo.7556142)
+
 
 This software provides a convenient API to access the annotated ZeMA dataset about 
 remaining useful life of an electro-mechanical cylinder on Zenodo
-- 
GitLab