qt: Fix version

This commit is contained in:
Calcitem 2021-07-12 00:08:53 +08:00
parent 0d899743f2
commit 4732f798bd
No known key found for this signature in database
GPG Key ID: C596FAD04B1A465B
2 changed files with 6 additions and 7 deletions

View File

@ -21,8 +21,8 @@ IDI_ICON1 ICON DISCARDABLE "MillGame.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1.1.14.1
PRODUCTVERSION 1.1.14.1
FILEVERSION 1,1,14,0
PRODUCTVERSION 1,1,14,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -39,12 +39,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Calcitem"
VALUE "FileDescription", "Mill Game"
VALUE "FileVersion", "1.0.14.0"
VALUE "FileVersion", "1.1.14.0"
VALUE "InternalName", "Sanmill"
VALUE "LegalCopyright", "(C) 2019-2021 Calcitem, All Rights Reserved."
VALUE "OriginalFilename", "MillGame.exe"
VALUE "ProductName", "MillGame"
VALUE "ProductVersion", "1.0.14.0"
VALUE "ProductVersion", "1.1.14.0"
END
END
BLOCK "VarFileInfo"

View File

@ -68,8 +68,8 @@ $SED -i "s/${VERSION_STRING}/${NEW_VERSION_STRING}/g" $YAML_FILE
# Modify Qt
OLD_FILEVERSION="$MAJOR_NUMBER,$MINOR_NUMBER,$OLD_PATCH_NUMBER"
FILEVERSION="$MAJOR_NUMBER,$MINOR_NUMBER,$PATCH_NUMBER"
$SED -i "s/${OLD_FILEVERSION}/${FILEVERSION}/g" $QT_RC_FILE
$SED -i "s/${OLD_VERSION}/${NEW_VERSION}/g" $QT_RC_FILE
$SED -i "s/${OLD_FILEVERSION},0/${FILEVERSION},0/g" $QT_RC_FILE
$SED -i "s/${OLD_VERSION}.0/${NEW_VERSION}.0/g" $QT_RC_FILE
# Modify Runner.rc
$SED -i "s/${OLD_FILEVERSION}/${FILEVERSION}/g" $FLUTTER_WINDOWS_RC_FILE
@ -107,4 +107,3 @@ git tag -m "Sanmill v$NEW_VERSION (${BUILD_NUMBER})" -m "Official release versio
git tag -v v$NEW_VERSION
git push origin v$NEW_VERSION -f
git push origin master