Dynamically update qt installer package.xml
-
How can I update package.xml of a component dynamically? I have to update Verison, ReleaseDate to the values obtained from jforg artifactory.
<?xml version="1.0" encoding="UTF-8"?> <Package> <DisplayName>ccs</DisplayName> <Description>ccs</Description> <Version>2.0.1</Version> <UpdateText>Test</UpdateText> <ReleaseDate>2018-10-26</ReleaseDate> <SortingPriority>3226155</SortingPriority> <Default>script</Default> <Script>installscript.qs</Script> </Package>
gitlab-ci.yml curl %token% https://prodtest.artifactory.net/artifactory/api/storage/test.zip?properties | C:\tools\jq-win64.exe --raw-output ".properties.releasedate[0]" > temp.txt set /p RELEASEDATE = <temp.txt echo "Generating repository ..." c:\QT\QtIFW-3.0.4\bin\repogen -r -p tmpbuild/package repository.rv/