Skip to content

Commit

Permalink
fixup! Show version info in the file properties on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatyas committed Oct 9, 2024
1 parent 979b837 commit 307b51b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/install.pri
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ win32 {
RC_ICONS = platform/windows/app_icon.ico
OTHER_FILES += $${RC_ICONS}

VERSION_STR = $$GIT_REVISION
VERSION_STR = $${GIT_REVISION}
VERSION_STR ~= s|^alpha([0-9]+?)-([0-9]+?)-.+|0.\1.\2|
message("VERSION_STR", $${GIT_REVISION}, "->", $${VERSION_STR}}
VERSION = $$VERSION_STR

target.path = $${INSTALL_BINDIR}
Expand Down

0 comments on commit 307b51b

Please sign in to comment.