From df5b25a85186bd7cad1a664fe88123689d1e994b Mon Sep 17 00:00:00 2001
From: Dantali0n <info@dantalion.nl>
Date: Mon, 2 Oct 2023 13:05:49 +0200
Subject: [PATCH] Remove remnants of versioning job

---
 .gitlab-ci.yml                                   | 6 ------
 {{cookiecutter.project_slug}}/CMakeLists.txt     | 2 +-
 {{cookiecutter.project_slug}}/README.md          | 4 ++--
 {{cookiecutter.project_slug}}/doc/sphinx/conf.py | 3 ++-
 4 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 92f60b2..135be1c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,12 +14,6 @@ default:
     - cd my_awesome_app
     - git init
 
-# Override artifact path
-versioning:
-  artifacts:
-    reports:
-      dotenv: my_awesome_app/versions.env
-
 # Override semgrep-sast before script
 sast:
   before_script:
diff --git a/{{cookiecutter.project_slug}}/CMakeLists.txt b/{{cookiecutter.project_slug}}/CMakeLists.txt
index 9ad0c6e..5a34a5e 100644
--- a/{{cookiecutter.project_slug}}/CMakeLists.txt
+++ b/{{cookiecutter.project_slug}}/CMakeLists.txt
@@ -1,6 +1,6 @@
 cmake_minimum_required(VERSION 3.16)
 
-project(CPP VERSION 0.1)
+project({{cookiecutter.project_slug}} VERSION 0.1)
 
 include(CheckCXXCompilerFlag)
 
diff --git a/{{cookiecutter.project_slug}}/README.md b/{{cookiecutter.project_slug}}/README.md
index 1015fe4..57e36c5 100644
--- a/{{cookiecutter.project_slug}}/README.md
+++ b/{{cookiecutter.project_slug}}/README.md
@@ -1,6 +1,6 @@
-# C++ project
+# {{cookiecutter.project_name}}
 
-An example repository of an CI/CD pipeline for building, testing and deploying a C++ project.
+{{cookiecutter.description}}
 
 ## Description
 
diff --git a/{{cookiecutter.project_slug}}/doc/sphinx/conf.py b/{{cookiecutter.project_slug}}/doc/sphinx/conf.py
index 014ddb5..10c6718 100644
--- a/{{cookiecutter.project_slug}}/doc/sphinx/conf.py
+++ b/{{cookiecutter.project_slug}}/doc/sphinx/conf.py
@@ -19,7 +19,8 @@ import sys
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 
-project = "CPP"
+project = "{{cookiecutter.project_name}}"
+copyright = "2023, ASTRON"
 
 # TODO(): Extract version metadata from CMake and make available in Sphinx
 # version = ""
-- 
GitLab