From 0fe66c8bf866dddd067a234c30398701a918d4e7 Mon Sep 17 00:00:00 2001
From: Olivier Maury <olivier.maury@inrae.fr>
Date: Fri, 5 Apr 2024 08:17:26 +0200
Subject: [PATCH] Version 2.0.1. fixes #11

---
 .gitlab/issues_templates/publier_nouvelle_version.md |  8 ++++----
 CITATION.cff                                         |  4 ++--
 codemeta.json                                        | 10 ++++++++--
 pom.xml                                              |  2 +-
 publiccode.yml                                       |  4 ++--
 5 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/.gitlab/issues_templates/publier_nouvelle_version.md b/.gitlab/issues_templates/publier_nouvelle_version.md
index e956632e..046a4e9e 100644
--- a/.gitlab/issues_templates/publier_nouvelle_version.md
+++ b/.gitlab/issues_templates/publier_nouvelle_version.md
@@ -2,10 +2,10 @@ Pour passer de la version *SNAPSHOT* à la version stable :
 
 - [ ] créer une demande de fusion et une branche à partir du ticket
 - [ ] changer la version dans `pom.xml`
-      ```
-      mvn versions:set -DnewVersion=2.0.1
-      mvn versions:commit
-      ```
+  ```sh
+  mvn versions:set -DnewVersion=2.0.1
+  mvn versions:commit
+  ```
 - [ ] mettre à jour les fichiers de métadonnées du projet
 - [ ] fusionner
 - [ ] [créer une étiquette](https://forgemia.inra.fr/agroclim/Indicators/indicators-java/-/tags/new) à partir de `main` en renseignant les points notables de la version
diff --git a/CITATION.cff b/CITATION.cff
index 68322cdb..522137ad 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -13,8 +13,8 @@ keywords:
 - Java
 - library
 - indicators
-version: 1.3.0-SNAPSHOT
+version: 2.0.1
 doi: 10.15454/IZUFAP
-date-released: 2023-12-21
+date-released: 2024-04-05
 license: GPL-3.0
 repository-code: https://forgemia.inra.fr/agroclim/Indicators/indicators-java.git
diff --git a/codemeta.json b/codemeta.json
index 1429d446..b779c68b 100644
--- a/codemeta.json
+++ b/codemeta.json
@@ -83,6 +83,12 @@
             "name": "jaxb-runtime",
             "version": "2.3.1"
         },
+        {
+            "@type": "SoftwareApplication",
+            "identifier": "org.json.json",
+            "name": "json",
+            "version": "20190722"
+        },
         {
             "@type": "SoftwareApplication",
             "identifier": "junit.junit",
@@ -99,5 +105,5 @@
             "name": "lombok"
         }
     ],
-    "version": "1.3.0-SNAPSHOT"
-}
+    "version": "2.0.1"
+}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 15b8ddb4..bc912a7b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@ along with Indicators. If not, see <https://www.gnu.org/licenses/>.
     <name>Indicators</name>
     <description>Library of agro- and eco-climatic indicators.</description>
     <inceptionYear>2018</inceptionYear>
-    <version>2.0.1-SNAPSHOT</version>
+    <version>2.0.1</version>
     <packaging>jar</packaging>
     <licenses>
         <license>
diff --git a/publiccode.yml b/publiccode.yml
index 3cc75557..dddadada 100644
--- a/publiccode.yml
+++ b/publiccode.yml
@@ -49,9 +49,9 @@ maintenance:
     name: "J\xE9r\xE9mie D\xE9c\xF4me"
   type: internal
 name: Indicators
-releaseDate: 2023-12-21
+releaseDate: 2024-04-05
 softwareType: library
-softwareVersion: 1.3.0-SNAPSHOT
+softwareVersion: 2.0.1
 url: https://forgemia.inra.fr/agroclim/Indicators/indicators-java.git
 usedBy:
 - INRAE AgroClim
-- 
GitLab