added regex pattern matching to version in toml file

This commit is contained in:
mazzol_a
2025-04-25 10:48:16 +02:00
committed by Dhanya Thattil
parent 0996f366fd
commit 948116c9e2
4 changed files with 16 additions and 13 deletions

View File

@ -4,7 +4,7 @@ source:
{% set version = load_file_regex(load_file = 'VERSION', regex_pattern = '(\d+(?:\.\d+)*(?:[\+\w\.]+))').group(1) %}
package:
name: slsdet
version: {{ version }} #
version: {{ version }}
build:
number: 0