We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b2f784 commit c90e090Copy full SHA for c90e090
1 file changed
.github/workflows/upload.yaml
@@ -42,7 +42,7 @@ jobs:
42
$pattern = "\<Version\>(.*?)\<\/Version\>";
43
$csproj = Join-Path -Path "LuaInstaller" -ChildPath "LuaInstaller" |
44
Join-Path -ChildPath "LuaInstaller.csproj";
45
- $version_line = (Get-Content $csproj) -match $pattern;
+ $version_line = (Get-Content $csproj) -match $pattern | Select-Object -First 1;
46
47
if (-not ($version_line -match $pattern))
48
{
0 commit comments