0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-11-25 00:18:06 +03:00

Version file creation has been fixed

This commit is contained in:
Arin Alex
2025-11-19 00:43:24 +03:00
parent 0fbcd7edb4
commit f61c574d52

View File

@@ -228,8 +228,7 @@ defineReplace(generateHeader){
OUTPUT_FILE = $$2
LINES = $$cat($$VERSION_TEMPLATE, lines)
LINES = $$replace(LINES, @GIT_VERSION@, $$LR_VERSION)
system(echo '// Auto generated version header' > $$OUTPUT_FILE)
for (a, LINES): system(echo '$${a}' >> $$OUTPUT_FILE)
write_file($$OUTPUT_FILE, LINES)
}
generateversion.depends = FORCE