diff options
author | Paul Spooren <mail@aparcar.org> | 2024-03-26 10:44:33 +0100 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2024-04-07 13:17:01 +0200 |
commit | 110bb468319140110ae297c6f0f292781d9bdf7e (patch) | |
tree | b03e3fdb7a33ad00f240ea39bdf035ca622970b7 /contrib/package/lucihttp | |
parent | 7fa789a13a4b834b86c32eff108819aa336446e1 (diff) |
luci.mk: more APK version compatibility changes
The initial commit did not take care of corner cases which could happen
if building under build conditions other than using Git.
There are three cases for the `findrev` function:
- git -> 24.079.58964~7943616 (remove prefixed `git-`)
APK can't handle `git-` as prefix, it could be `0_git<integer>` but this
seems rather confusing.
- date -> 0.240326.34906 ( add leading 0)
Add a leading zero so the version is always lower compared to using
Git. This makes it easier to distinguish from a Git based version.
- unknown -> 0 (instead of `unknown`)
APK can't handle `unknown` so set it to a simple zero instead.
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'contrib/package/lucihttp')
0 files changed, 0 insertions, 0 deletions