Commit f8627777 authored by Ming Rui Zhang's avatar Ming Rui Zhang

changelog: now generate changelog in the stage of compiling client

Change-Id: Ia674ec08e349ec68bfa907b85bee5376325bbbeb
parent 8f2b5082
......@@ -92,9 +92,4 @@ Get-ChildItem -Path $clientTSPath -Include *.qm -Recurse | ForEach-Object {
Copy-Item -Path $_.FullName -Destination $CopyDir -Force Recurse
write-host "copy completed" -ForegroundColor Green
write-host "Generate change log html" -ForegroundColor Green
$command = 'pandoc -f markdown -t html5 -o changelog.html'
iex "& $command"
write-host "Conversion completed" -NoNewline -ForegroundColor Green
\ No newline at end of file
write-host "copy completed" -NoNewline -ForegroundColor Green
\ No newline at end of file
echo Start generating changelog
start pandoc -f markdown -t html5 -o changelog.html
echo Changelog generated successfully
\ No newline at end of file
......@@ -8,6 +8,7 @@
......@@ -327,7 +327,7 @@ QString
QString logs;
QFile changeLogFile("changelog.html");
QFile changeLogFile(":/changelog.html");
if (! | QIODevice::Text)) {
qDebug().noquote() << " Change log file failed to load";
return {};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment