Update version in config.h and resource script
This commit is contained in:
parent
9efa980b05
commit
f89416a20a
2 changed files with 13 additions and 6 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -98,6 +98,13 @@ jobs:
|
|||
- name: Log environment
|
||||
shell: pwsh
|
||||
run: .\scripts\log-env.ps1
|
||||
- name: Inject version string
|
||||
shell: bash
|
||||
run: |
|
||||
set -x
|
||||
export VERSION=$(git describe --abbrev=4)
|
||||
sed -i "s|VERSION \"git\"|VERSION \"$VERSION\"|" src/platform/visualc/config.h
|
||||
echo ::set-env name=VERSION::$VERSION
|
||||
- name: Build
|
||||
shell: pwsh
|
||||
env:
|
||||
|
|
|
@ -7,8 +7,8 @@ dosbox_ico ICON "dosbox.ico"
|
|||
|
||||
// version resource
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,74,0,0
|
||||
PRODUCTVERSION 0,74,0,0
|
||||
FILEVERSION 0,75,0,0
|
||||
PRODUCTVERSION 0,75,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
FILEFLAGS 0x0L
|
||||
FILEOS 0x40004L
|
||||
|
@ -22,12 +22,12 @@ BEGIN
|
|||
VALUE "Comments", "© 2002-2019 DOSBox Team, published under GNU GPL"
|
||||
VALUE "CompanyName", "DOSBox Team"
|
||||
VALUE "FileDescription", "DOSBox DOS Emulator"
|
||||
VALUE "FileVersion", "0, 74, 0, 0"
|
||||
VALUE "InternalName", "DOSBox"
|
||||
VALUE "FileVersion", "0, 75, 0, 0"
|
||||
VALUE "InternalName", "dosbox-staging"
|
||||
VALUE "LegalCopyright", "Copyright © 2002-2019 DOSBox Team"
|
||||
VALUE "OriginalFilename", "dosbox.exe"
|
||||
VALUE "ProductName", "DOSBox DOS Emulator"
|
||||
VALUE "ProductVersion", "0, 74, 0, 0"
|
||||
VALUE "ProductName", "dosbox-staging"
|
||||
VALUE "ProductVersion", "0, 75, 0, 0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Add table
Reference in a new issue