Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Dynamically update qt installer package.xml
Forum Updated to NodeBB v4.3 + New Features

Dynamically update qt installer package.xml

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 312 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    user2301
    wrote on last edited by
    #1

    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/
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved