Update .gitlab-ci.yml
This commit is contained in:
parent
498454b28f
commit
439692ed91
|
@ -20,10 +20,12 @@ uptool:
|
|||
rm Install.bat
|
||||
rm Remove.bat
|
||||
mkdir .\build
|
||||
dotnet publish -o .\build -c Release
|
||||
cd PostCompile
|
||||
dotnet publish -o ..\build -c Release
|
||||
cd ..
|
||||
$file = Get-Item $(Resolve-Path .\build\*.exe).Path
|
||||
.\Data\pkgtool.exe build --binDir build --mainBin $file --packageFile .\package.zip --noLogo
|
||||
$asm = $([Reflection.Assembly]::LoadFile($file.DirectoryName + "\" + $file.BaseName + ".dll"))
|
||||
$asm = $([Reflection.Assembly]::LoadFile($file.DirectoryName + "\" + $file.BaseName + ".exe"))
|
||||
$asmver = $asm.GetName().Version.ToString()
|
||||
[System.XML.XMLDocument]$xml=New-Object System.XML.XMLDocument
|
||||
[System.XML.XMLElement]$app=$xml.CreateElement("app")
|
||||
|
|
Reference in New Issue