summary refs log tree commit diff stats
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/version-template.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/version-template.ps1 b/win32/version-template.ps1
index 18eb90d9..0a884906 100644
--- a/win32/version-template.ps1
+++ b/win32/version-template.ps1
@@ -1,6 +1,6 @@
 param ([string] $templateFilename, [string] $outputFilename)
 
-$versionParts = Select-String -Path "${env:SOLUTIONDIR}configure.ac" -Pattern '^AC_INIT\(\[HexChat\],\[([^]]+)\]\)$' | Select-Object -First 1 | %{ $_.Matches[0].Groups[1].Value.Split('.') }
+$versionParts = Select-String -Path "${env:SOLUTIONDIR}meson.build" -Pattern "  version: '([^']+)',$" | Select-Object -First 1 | %{ $_.Matches[0].Groups[1].Value.Split('.') }
 
 [string[]] $contents = Get-Content $templateFilename -Encoding UTF8 | %{
 	while ($_ -match '^(.*?)<#=(.*?)#>(.*?)$') {