build: read version from VERSION file

This commit is contained in:
leo 2024-04-17 11:00:48 +08:00
parent 27265dc465
commit 3a3c0e717f
6 changed files with 59 additions and 11 deletions

View file

@ -1,4 +1,4 @@
$version = Get-Content .\VERSION
$version = Get-Content ..\VERSION
if (Test-Path SourceGit) {
Remove-Item SourceGit -Recurse -Force