workflow: fix release version injection into config.pm (#209)
Co-authored-by: Meliox <na>
This commit is contained in:
parent
2221c8fe8c
commit
709aa55287
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
BUILD_VERSION: ${{ steps.version.outputs.version }}
|
BUILD_VERSION: ${{ steps.version.outputs.version }}
|
||||||
run: |
|
run: |
|
||||||
perl -i -pe 'BEGIN { $v = $ENV{BUILD_VERSION} }
|
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
|
' src/node_info/files/Config.pm
|
||||||
|
|
||||||
- name: Generate dynamic debian rules
|
- name: Generate dynamic debian rules
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user