Set version before creating docs

Since the version string gets embedded into the created documentation.
This commit is contained in:
Oliver Brakmann
2015-04-10 00:13:19 +02:00
parent 6a66cea01f
commit 9aa16c95da
2 changed files with 2 additions and 1 deletions

View File

@@ -157,6 +157,7 @@ elseif ($command -eq "check")
}
elseif ($command -eq "docs")
{
./make.ps1 version
./OpenRA.Utility.exe d2k --docs | Out-File -Encoding "UTF8" DOCUMENTATION.md
./OpenRA.Utility.exe ra --lua-docs | Out-File -Encoding "UTF8" Lua-API.md
}