fix(release): auto-increment patch and build number for Android and Windows releases
This commit is contained in:
1 parent
14c6193367
commit
49af400c89
4 files changed
+47
-13
No files matched your search
@@ -206,6 +206,13 @@ jobs:
|
||||
-Encoding utf8 `
|
||||
-Append
|
||||
|
||||
# Sync calculated version and build number into pubspec.yaml
|
||||
$pubspecPath = "frontend/pubspec.yaml"
|
||||
$pubContent = Get-Content $pubspecPath
|
||||
$updatedPub = $pubContent -replace '^version:.*', "version: $verName+$buildNumber"
|
||||
Set-Content -Path $pubspecPath -Value $updatedPub -Encoding utf8
|
||||
Write-Host "Updated $pubspecPath to version: $verName+$buildNumber"
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Manual Release Tag
|
||||
# ------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user