From d12789ad1df0ccf627fa98adf3e980f4b74e9667 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Thu, 15 Jun 2023 10:23:07 +0200
Subject: [PATCH] REL: prepare release 0.2.2

---
 CMakeLists.txt   |  4 ++--
 conanfile.py     |  2 +-
 doc/CHANGELOG.md | 16 ++--------------
 3 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5fe2e13..51f80e9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,11 +20,11 @@
 
 cmake_minimum_required(VERSION 3.13)
 
-set(libcaosdb_VERSION 0.3.0)
+set(libcaosdb_VERSION 0.2.2)
 set(libcaosdb_COMPATIBLE_SERVER_VERSION_MAJOR 0)
 set(libcaosdb_COMPATIBLE_SERVER_VERSION_MINOR 9)
 set(libcaosdb_COMPATIBLE_SERVER_VERSION_PATCH 0)
-set(libcaosdb_COMPATIBLE_SERVER_VERSION_PRE_RELEASE "SNAPSHOT")
+set(libcaosdb_COMPATIBLE_SERVER_VERSION_PRE_RELEASE "")
 
 project(libcaosdb
     VERSION ${libcaosdb_VERSION}
diff --git a/conanfile.py b/conanfile.py
index 906ba04..e86f49d 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -3,7 +3,7 @@ from conans import ConanFile, CMake, tools
 
 class CaosdbConan(ConanFile):
     name = "caosdb"
-    version = "0.3.0-dev"
+    version = "0.2.2"
     license = "AGPL-3.0-or-later"
     author = "Timm C. Fitschen <t.fitschen@indiscale.com>"
     url = "https://gitlab.indiscale.com/caosdb/src/caosdb-cpplib.git"
diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md
index 7dcd73a..aba1ff2 100644
--- a/doc/CHANGELOG.md
+++ b/doc/CHANGELOG.md
@@ -5,25 +5,13 @@ 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] - YYYY-MM-DD ##
-(*Maintainer*)
+## [0.2.2] - 2023-06-15 ##
+(Timm Fitschen)
 
 ### Added
 
 * Support for `SELECT` queries.
 
-### Changed
-
-### Deprecated
-
-### Removed
-
-### Fixed
-
-### Security
-
-### Documentation
-
 ## [0.2.1] - 2022-09-22 ##
 (Daniel Hornung)
 
-- 
GitLab