From fcc9244161b785b8772022222ba6b04eb4da0cc1 Mon Sep 17 00:00:00 2001 From: AAriam <80158628+AAriam@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:03:00 +0100 Subject: [PATCH] Release version 0.0.0.dev422 --- pyproject.toml | 4 ++-- requirements.txt | 2 +- src/controlman/_data/schema/main.yaml | 32 ++++++++++++++++++++++++++- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e2f7281..2ad7361 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ namespaces = true # ----------------------------------------- Project Metadata ------------------------------------- # [project] -version = "0.0.0.dev421" +version = "0.0.0.dev422" name = "ControlMan" dependencies = [ "packaging >= 23.2, < 24", @@ -30,7 +30,7 @@ dependencies = [ "PyLinks == 0.0.0.dev64", "LoggerMan == 0.0.0.dev81", "PySerials == 0.0.0.dev54", - "GitTidy == 0.0.0.dev78", + "GitTidy == 0.0.0.dev79", "PkgData == 0.0.0.dev5", "PyShellMan == 0.0.0.dev41", "PySyntax == 0.0.0.dev5", diff --git a/requirements.txt b/requirements.txt index cb778f6..6ad59a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ Jinja2 >= 3, < 4 PyLinks == 0.0.0.dev64 LoggerMan == 0.0.0.dev81 PySerials == 0.0.0.dev54 -GitTidy == 0.0.0.dev78 +GitTidy == 0.0.0.dev79 PkgData == 0.0.0.dev5 PyShellMan == 0.0.0.dev41 PySyntax == 0.0.0.dev5 diff --git a/src/controlman/_data/schema/main.yaml b/src/controlman/_data/schema/main.yaml index f83b09b..accc85a 100644 --- a/src/controlman/_data/schema/main.yaml +++ b/src/controlman/_data/schema/main.yaml @@ -3176,7 +3176,7 @@ properties: For example, if you choose `v` (so version tags are `v1.0.0`, `v1.0.1`, etc.), then no other tags should start with `v`. type: string - default: vers/ + default: v examples: - version/ - ver/ @@ -3191,6 +3191,36 @@ properties: examples: - "Release {{ version }}" - "v{{ version }}" + release: + description: | + Configurations for release tags. + Release tags are running tags that always point to the latest release + of a specific major version. + type: object + additionalProperties: false + required: [ prefix, message ] + properties: + prefix: + description: | + Prefix of release tags. You must choose a prefix that does not conflict with other tags. + For example, if you choose `r` (so tags are `r0.1`, `r1`, `r2`, etc.), + then no other tags should start with `r`. + type: string + default: r + examples: + - releases/ + - rel/ + - r- + - 'r ' + message: + title: Message + description: | + Jinja template for the message of the release tag. + $ref: https://jsonschemata.repodynamics.com/string/oneline + default: "Latest release ({{ version }}) of major version {{ release }}." + examples: + - "Release {{ release }}" + - "r{{ release }}" file: type: object additionalProperties: false