gnucash-on-windows master: Update version extraction to match new parameter names in gnucash project

Geert Janssens gjanssens at code.gnucash.org
Fri Jan 17 12:35:50 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/bf30121c (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/c31de946 (commit)



commit bf30121c353b7c7c58ec78cf1cb9a27200f4ce39
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Fri Jan 17 18:28:49 2020 +0100

    Update version extraction to match new parameter names in gnucash project
    
    This should be used as of commit d8a304c2c94a4f0d6c4167cfc1bf6e7f7e84d0cf in the gnucash repo.

diff --git a/bundle-mingw64.ps1 b/bundle-mingw64.ps1
index 6beec0d..50f4b8d 100644
--- a/bundle-mingw64.ps1
+++ b/bundle-mingw64.ps1
@@ -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")



Summary of changes:
 bundle-mingw64.ps1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list