chore: point README at Gitea releases; build-windows.ps1 mirrors pubspec version
This commit is contained in:
1 parent
3b1fad18fa
commit
8a80cba116
2 files changed
+16
-8
No files matched your search
@@ -136,6 +136,11 @@ if (-not $SkipInno) {
|
||||
Write-Err "Installer scripti bulunamadi: $installerScript"
|
||||
}
|
||||
|
||||
# Installer surumunu pubspec.yaml'dan aynala (CI'daki adimla ayni)
|
||||
$pubVersion = (Select-String -Path (Join-Path $ProjectRoot 'pubspec.yaml') -Pattern '^version:\s*([0-9]+\.[0-9]+\.[0-9]+)').Matches[0].Groups[1].Value
|
||||
(Get-Content $installerScript -Raw) -replace '#define MyAppVersion "[^"]+"', "#define MyAppVersion `"$pubVersion`"" | Set-Content $installerScript
|
||||
Write-Ok "Inno Setup surumu pubspec'ten: $pubVersion"
|
||||
|
||||
$distDir = Join-Path $ProjectRoot "dist"
|
||||
New-Item -ItemType Directory -Force -Path $distDir | Out-Null
|
||||
|
||||
|
||||
Reference in new issue
Block a user