mirror of
https://github.com/greenshot/greenshot
synced 2025-08-22 06:23:24 -07:00
Fix extraction of release attribs
This commit is contained in:
parent
f77d7dccec
commit
8049cf392c
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -90,7 +90,7 @@ jobs:
|
||||||
if (-not $file) {
|
if (-not $file) {
|
||||||
throw "No matching file found in 'drop' directory."
|
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 "version=$($matches[1])" >> $Env:GITHUB_OUTPUT
|
||||||
echo "attribs=$($matches[2])" | tr -d '-' ' ' | tr '[:upper:]' '[:lower:]' >> $Env:GITHUB_OUTPUT
|
echo "attribs=$($matches[2])" | tr -d '-' ' ' | tr '[:upper:]' '[:lower:]' >> $Env:GITHUB_OUTPUT
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue