From 0daebbd5dd62ee9aaace30f22d9d0aaad736f612 Mon Sep 17 00:00:00 2001 From: Meliox Date: Sun, 14 Jun 2026 10:11:59 +0200 Subject: [PATCH] fix versioning --- .github/workflows/test-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index a64a1cb..b8d5fa1 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -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: |