updatet regex pattern to support postfix

This commit is contained in:
mazzol_a
2025-04-23 17:09:06 +02:00
committed by Dhanya Thattil
parent 1286373894
commit f3be955763
4 changed files with 5 additions and 6 deletions

View File

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