From 6a5005a08fac1954790834e27ea0d25babef9c74 Mon Sep 17 00:00:00 2001
From: Florian Spreckelsen <f.spreckelsen@indiscale.com>
Date: Mon, 18 Mar 2024 11:39:10 +0100
Subject: [PATCH] REL: Prepare release

---
 CHANGELOG.md    | 12 +-----------
 CITATION.cff    |  4 ++--
 pom.xml         |  2 +-
 src/doc/conf.py |  4 ++--
 4 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e936d203..1a5ce7c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,15 +5,7 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
 
-## [Unreleased]
-
-### Added
-
-### Changed
-
-### Deprecated
-
-### Removed
+## [0.12.2] - 2024-03-18
 
 ### Fixed
 
@@ -21,8 +13,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
   [linkahead-server#250](https://gitlab.com/linkahead/linkahead-server/-/issues/250)
 * Legacy integer ids are incremented by 1 again, not by 2.
 
-### Security
-
 ## [0.12.1] - 2023-12-13
 (Timm Fitschen)
 
diff --git a/CITATION.cff b/CITATION.cff
index 77f72467..263a8720 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -23,6 +23,6 @@ authors:
     given-names: Stefan
     orcid: https://orcid.org/0000-0001-7214-8125
 title: "CaosDB - Server"
-version: 0.12.1
+version: 0.12.2
 doi: 10.3390/data4020083
-date-released: 2023-12-13
+date-released: 2024-03-18
diff --git a/pom.xml b/pom.xml
index abe5e282..9fe424c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.caosdb</groupId>
   <artifactId>caosdb-server</artifactId>
-  <version>0.13.0-SNAPSHOT</version>
+  <version>0.12.2</version>
   <packaging>jar</packaging>
   <name>CaosDB Server</name>
   <scm>
diff --git a/src/doc/conf.py b/src/doc/conf.py
index 530d8d65..a8167d4d 100644
--- a/src/doc/conf.py
+++ b/src/doc/conf.py
@@ -26,9 +26,9 @@ copyright = '2023, IndiScale GmbH'
 author = 'Daniel Hornung, Timm Fitschen'
 
 # The short X.Y version
-version = '0.13.0'
+version = '0.12.2'
 # The full version, including alpha/beta/rc tags
-release = '0.13.0-dev'
+release = '0.12.2'
 
 
 # -- General configuration ---------------------------------------------------
-- 
GitLab