From 53adb91541b84fd9ba5940115a47939ec6984110 Mon Sep 17 00:00:00 2001 From: Vitaliy D Date: Mon, 16 May 2022 14:14:05 +0200 Subject: [PATCH] CI: fix semver regex --- .circleci/config.yml | 4 ++-- include/version.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b5eec0..88ff6bf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,12 +47,12 @@ workflows: filters: # Tag triggers are ignored by default and must be enabled explicitly tags: - only: /^v\d\.\d\.\d$/ + only: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ - release: requires: - client_test filters: tags: - only: /^v\d\.\d\.\d$/ + only: /^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ branches: ignore: /.*/ diff --git a/include/version.h b/include/version.h index 36a377e..1aabf12 100644 --- a/include/version.h +++ b/include/version.h @@ -11,6 +11,6 @@ #ifndef VERSION_H #define VERSION_H -#define VERSION "0.12.1" +#define VERSION "0.12.2" -#endif \ No newline at end of file +#endif