normalized version to PEP 440 specification in update_version.py

This commit is contained in:
mazzol_a
2025-04-24 08:45:18 +02:00
committed by Dhanya Thattil
parent f3be955763
commit 96f39d5028
3 changed files with 10 additions and 10 deletions

View File

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