Skip to content

Commit

Permalink
Update version extraction to match new parameter names in gnucash pro…
Browse files Browse the repository at this point in the history
…ject

This should be used as of commit d8a304c2c94a4f0d6c4167cfc1bf6e7f7e84d0cf in the gnucash repo.
  • Loading branch information
gjanssens committed Jan 17, 2020
1 parent c31de94 commit bf30121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bundle-mingw64.ps1
Expand Up @@ -109,8 +109,8 @@ if ($PSVersionTable.PSVersion.Major -ge 3) {

$gnc_config_h = "$target_dir\build\$gnucash\common\config.h"

$major_version = version_item -tag "GNUCASH_MAJOR_VERSION" -path $gnc_config_h
$minor_version = version_item -tag "GNUCASH_MINOR_VERSION" -path $gnc_config_h
$major_version = version_item -tag "PROJECT_VERSION_MAJOR" -path $gnc_config_h
$minor_version = version_item -tag "PROJECT_VERSION_MINOR" -path $gnc_config_h
$package_version = "$major_version.$minor_version"
$inst_dir = "$target_dir\inst"
$mingw_ver = bitness("$inst_dir\bin\gnucash.exe")
Expand Down

0 comments on commit bf30121

Please sign in to comment.