From 8049cf392c5e59812cbc108be4f345abc6ca8c19 Mon Sep 17 00:00:00 2001 From: local-script Date: Tue, 20 May 2025 12:48:10 +0200 Subject: [PATCH] Fix extraction of release attribs --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00ffc22c9..2d7fc2afd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,7 +90,7 @@ jobs: if (-not $file) { throw "No matching file found in 'drop' directory." } - if ($file.Name -match "Greenshot-INSTALLER-([\d\.]+).*\.exe") { + if ($file.Name -match "Greenshot-INSTALLER-([\d\.]+)(.*)\.exe") { echo "version=$($matches[1])" >> $Env:GITHUB_OUTPUT echo "attribs=$($matches[2])" | tr -d '-' ' ' | tr '[:upper:]' '[:lower:]' >> $Env:GITHUB_OUTPUT } else {