diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index f214370..27b1603 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -45,17 +45,9 @@ jobs: run: | [xml]$csproj = Get-Content "FolderFlex/FolderFlex.csproj" $version = $csproj.Project.PropertyGroup.AssemblyVersion - if (-not $version) { $version = $csproj.Project.PropertyGroup.FileVersion } - - if (-not $version) { - $version = "0.0.0.0" # Valor padrão, se necessário - } - - $version = $version.Trim() - echo "Version found: $version" echo "VERSION=$version" >> $GITHUB_ENV shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"