added regex pattern matching to version in toml file

This commit is contained in:
mazzol_a
2025-04-25 10:48:16 +02:00
parent c3f1d05033
commit 2815913d10
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: sls_detector_software
version: {{ version }} #2025.3.19
version: {{ version }}
build:
number: 0