Skip to content

Commit

Permalink
Read version from Version
Browse files Browse the repository at this point in the history
  • Loading branch information
SeriaWei committed Aug 18, 2024
1 parent ab68aef commit 8885866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Release.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Add-Type -assembly "system.io.compression.filesystem"

[xml]$cmsProj = Get-Content "src/ZKEACMS/ZKEACMS.csproj"
$version = $cmsProj.Project.PropertyGroup[0].FileVersion
$version = $cmsProj.Project.PropertyGroup[0].Version
Write-Host "Create a new release for version $version ?"
Pause
$releaseFolder = "Release"
Expand Down

0 comments on commit 8885866

Please sign in to comment.