fix versioning

This commit is contained in:
Meliox 2026-06-14 10:11:59 +02:00
parent f36e27a4d6
commit 0daebbd5dd

View File

@ -33,10 +33,9 @@ jobs:
- name: Inject version into Config.pm
run: |
export BUILD_VERSION="${{ steps.version.outputs.build_version }}"
perl -i -pe 'BEGIN { $v = $ENV{BUILD_VERSION} }
s/(our \$VERSION\s*=\s*'"'"')[^'"'"']*'"'"';/$1'"'"'$v'"'"';/
' src/node_info/files/Config.pm
BUILD_VERSION="${{ steps.version.outputs.build_version }}"
sed -i -E "s/^our \\\$VERSION\\s*=.*/our \\\$VERSION = '${BUILD_VERSION}';/" \
src/node_info/files/Config.pm
- name: Set package version in changelog
run: |