mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-07-29 05:59:24 +00:00
Centralize release version in root VERSION file.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
param ([string] $templateFilename, [string] $outputFilename)
|
||||
|
||||
$versionParts = Select-String -Path "${env:SOLUTIONDIR}meson.build" -Pattern " version: '([^']+)',$" | Select-Object -First 1 | %{ $_.Matches[0].Groups[1].Value.Split('.') }
|
||||
$versionParts = (Get-Content "${env:SOLUTIONDIR}VERSION" -Raw).Trim().Split('.')
|
||||
|
||||
[string[]] $contents = Get-Content $templateFilename -Encoding UTF8 | %{
|
||||
while ($_ -match '^(.*?)<#=(.*?)#>(.*?)$') {
|
||||
|
||||
Reference in New Issue
Block a user