workflow: fix release version injection into config.pm (#209)

Co-authored-by: Meliox <na>
This commit is contained in:
Meliox 2026-06-13 18:34:33 +02:00 committed by GitHub
parent 2221c8fe8c
commit 709aa55287
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ jobs:
BUILD_VERSION: ${{ steps.version.outputs.version }}
run: |
perl -i -pe 'BEGIN { $v = $ENV{BUILD_VERSION} }
s/(our \$VERSION\s*=\s*'"'"')[^'"'"']*'"'"';/$1'"'"'$v'"'"';/
s/(our \$VERSION\s*=\s*'"'"')[^'"'"']*'"'"';/${1}$v'"'"';/
' src/node_info/files/Config.pm
- name: Generate dynamic debian rules