https://bugs.kde.org/show_bug.cgi?id=443489

--- Comment #2 from ci3...@gmail.com ---
Is it possible to enable a conditional build (as a workaround)?

I have digged around a little bit in the binary-factory-tooling git and saw the
pipeline which I assume is executed
(craft/pipeline-templates/android.pipeline). According to the jenkins doc a
stage can have an additional "when" directive that would enable a build only
under certain conditions
(https://www.jenkins.io/doc/book/pipeline/syntax/#when). However, there is no
"steps" in the KDE receipt, so I'm not sure, if this the correct documentation.

A possible way to get the last deployed version is to query the F-Droid-Repo
itself (for example `curl -s
https://cdn.kde.org/android/stable-releases/fdroid/repo/index.xml | xmllint
--format --xpath
'/fdroid/application[@id="org.kde.itinerary"]/package/version/text()' - | head
-n 1`). Maybe one stage in the pipeline can execute this, query the current
version, set an ENVIRONMENT_VARIABLE that is evaluated by the later stages in a
when directive.

The versioncode is really high. Is it updated every build? If yes, I
understand, why F-Droid thinks that the package is new every time.
If you want a daily build, it may also be enough to produce the same version
code.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to