chore: add MADDY_VERSION_LINE_REPLACEMENT to maddy version lines
Some checks failed
run-tests / test-on-windows (push) Has been cancelled
run-checks / run-clang-format (push) Has been cancelled
run-tests / test-on-ubuntu (push) Has been cancelled
run-tests / test-on-osx (push) Has been cancelled

This commit is contained in:
Petra Baranski
2025-07-02 23:08:48 +02:00
parent 907d6d4a27
commit 28e9a22f9c
4 changed files with 4 additions and 3 deletions

View File

@@ -15,6 +15,7 @@ maddy uses [semver versioning](https://semver.org/).
## Upcoming
* ![**ADDED**](https://img.shields.io/badge/-ADDED-%23099) Added CMake install and find_package() support.
* ![**ADDED**](https://img.shields.io/badge/-ADDED-%23099) Script to update maddy version number in all files.
## version 1.5.0 2025-04-21

View File

@@ -3,7 +3,7 @@
cmake_minimum_required(VERSION 3.25)
project(maddy VERSION 1.5.0)
project(maddy VERSION 1.5.0) # MADDY_VERSION_LINE_REPLACEMENT
# ------------------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
# maddy
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-brightgreen.svg)](https://semver.org/)
[![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-brightgreen.svg)](https://semver.org/) <!-- MADDY_VERSION_LINE_REPLACEMENT -->
maddy is a C++ Markdown to HTML **header-only** parser library.

View File

@@ -59,7 +59,7 @@ public:
*/
static const std::string& version()
{
static const std::string v = "1.5.0";
static const std::string v = "1.5.0"; // MADDY_VERSION_LINE_REPLACEMENT
return v;
}