Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CassioJhones authored Dec 24, 2024
1 parent fede81f commit 5c584b1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}'"
Expand Down

0 comments on commit 5c584b1

Please sign in to comment.