Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ OPTIONS
VERSION
Last update:
Eat-Me-App version:
Sharg version: 1.2.1
Sharg version: 1.2.2-rc.1
```
<!-- MARKDOWN-AUTO-DOCS:END -->

Expand Down
4 changes: 2 additions & 2 deletions include/sharg/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
//!\brief The minor version as MACRO.
#define SHARG_VERSION_MINOR 2
//!\brief The patch version as MACRO.
#define SHARG_VERSION_PATCH 1
#define SHARG_VERSION_PATCH 2
//!\brief The release candidate number. 0 means stable release, >= 1 means release candidate.
#define SHARG_RELEASE_CANDIDATE 0
#define SHARG_RELEASE_CANDIDATE 1

//!\brief The full version as MACRO (number).
#define SHARG_VERSION (SHARG_VERSION_MAJOR * 10000 + SHARG_VERSION_MINOR * 100 + SHARG_VERSION_PATCH)
Expand Down
50 changes: 50 additions & 0 deletions test/api_stability/1.2.1/0001-NOAPI-Bump-version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From 0410716fff941cd751d4ce0135c4941d96e1eab7 Mon Sep 17 00:00:00 2001
From: Enrico Seiler <enrico.seiler@hotmail.de>
Date: Sun, 18 Jan 2026 19:23:23 +0100
Subject: [PATCH] [NOAPI] Bump version

---
test/snippet/readme_sneak_peek.out | 2 +-
test/unit/detail/format_ctd_test.cpp | 2 +-
test/unit/detail/format_cwl_test.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/snippet/readme_sneak_peek.out b/test/snippet/readme_sneak_peek.out
index 99c4be7..7e8292d 100644
--- a/test/snippet/readme_sneak_peek.out
+++ b/test/snippet/readme_sneak_peek.out
@@ -28,4 +28,4 @@ OPTIONS
VERSION
Last update:
Eat-Me-App version:
- Sharg version: 1.2.1
+ Sharg version: 1.2.2-rc.1
diff --git a/test/unit/detail/format_ctd_test.cpp b/test/unit/detail/format_ctd_test.cpp
index 6dd2aea..ad432f1 100644
--- a/test/unit/detail/format_ctd_test.cpp
+++ b/test/unit/detail/format_ctd_test.cpp
@@ -114,7 +114,7 @@ TEST_F(format_ctd_test, empty_information)
// Create the dummy parser.
auto parser = get_parser("--export-help", "ctd");
parser.info.date = "December 01, 1994";
- parser.info.version = "1.2.1";
+ parser.info.version = "1.2.2-rc.1";
parser.info.man_page_title = "default_man_page_title";
parser.info.short_description = "A short description here.";

diff --git a/test/unit/detail/format_cwl_test.cpp b/test/unit/detail/format_cwl_test.cpp
index 7c8862a..9f5ef7e 100644
--- a/test/unit/detail/format_cwl_test.cpp
+++ b/test/unit/detail/format_cwl_test.cpp
@@ -21,7 +21,7 @@ TEST_F(format_cwl_test, empty_information)
// Create the dummy parser.
auto parser = get_parser("--export-help", "cwl");
parser.info.date = "December 01, 1994";
- parser.info.version = "1.2.1";
+ parser.info.version = "1.2.2-rc.1";
parser.info.man_page_title = "default_man_page_title";
parser.info.short_description = "A short description here.";

--
2.47.3

4 changes: 2 additions & 2 deletions test/api_stability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ find_package (Git)
include (../sharg-test.cmake)

include (ExternalProject)
set (SHARG_LAST_STABLE_VERSION "1.2.0")
set (SHARG_LAST_STABLE_VERSION "1.2.1")
set (SHARG_LAST_STABLE_SOURCE_URL
"https://github.com/seqan/sharg-parser/releases/download/${SHARG_LAST_STABLE_VERSION}/sharg-${SHARG_LAST_STABLE_VERSION}-Source.tar.xz"
)
set (SHARG_LAST_STABLE_SOURCE_SHA256 "aac491bbde0d4d5446277c7c1f6cb4b814b2b4793b14b77f9838f139d50ae29f")
set (SHARG_LAST_STABLE_SOURCE_SHA256 "3ff0bf3ae2b3b5f927445bca2224918c2954a716c12633be531a35e183bf94b6")

set (SHARG_API_STABILITY_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSHARG_DISABLE_DEPRECATED_WARNINGS=1")

Expand Down
2 changes: 1 addition & 1 deletion test/snippet/readme_sneak_peek.out
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ OPTIONS
VERSION
Last update:
Eat-Me-App version:
Sharg version: 1.2.1
Sharg version: 1.2.2-rc.1
2 changes: 1 addition & 1 deletion test/unit/detail/format_ctd_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TEST_F(format_ctd_test, empty_information)
// Create the dummy parser.
auto parser = get_parser("--export-help", "ctd");
parser.info.date = "December 01, 1994";
parser.info.version = "1.2.1";
parser.info.version = "1.2.2-rc.1";
parser.info.man_page_title = "default_man_page_title";
parser.info.short_description = "A short description here.";

Expand Down
2 changes: 1 addition & 1 deletion test/unit/detail/format_cwl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ TEST_F(format_cwl_test, empty_information)
// Create the dummy parser.
auto parser = get_parser("--export-help", "cwl");
parser.info.date = "December 01, 1994";
parser.info.version = "1.2.1";
parser.info.version = "1.2.2-rc.1";
parser.info.man_page_title = "default_man_page_title";
parser.info.short_description = "A short description here.";

Expand Down