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
parent bace9edf89
commit 0e4cb7cbcd
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 }} #