fix versioning
This commit is contained in:
parent
f36e27a4d6
commit
0daebbd5dd
7
.github/workflows/test-release.yml
vendored
7
.github/workflows/test-release.yml
vendored
@ -33,10 +33,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Inject version into Config.pm
|
- name: Inject version into Config.pm
|
||||||
run: |
|
run: |
|
||||||
export BUILD_VERSION="${{ steps.version.outputs.build_version }}"
|
BUILD_VERSION="${{ steps.version.outputs.build_version }}"
|
||||||
perl -i -pe 'BEGIN { $v = $ENV{BUILD_VERSION} }
|
sed -i -E "s/^our \\\$VERSION\\s*=.*/our \\\$VERSION = '${BUILD_VERSION}';/" \
|
||||||
s/(our \$VERSION\s*=\s*'"'"')[^'"'"']*'"'"';/$1'"'"'$v'"'"';/
|
src/node_info/files/Config.pm
|
||||||
' src/node_info/files/Config.pm
|
|
||||||
|
|
||||||
- name: Set package version in changelog
|
- name: Set package version in changelog
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user