Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Golle 0455db48ff ci: avoid subshell invocation on APK version check
Use return code instead of scraping the stdio of `apk version --check`.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-09-02 11:02:09 -07:00
Paul Spooren 95908326b5 ci: final round of APK CI fixes
Using -ne wasn't such a good idea since it would do a numeric compare.
Now use -n which checks if the length is non-zero. APK prints the
problematic version if - problematic - so this should now do the trick.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-08-17 20:26:59 -07:00
Paul Spooren 1019631a5a ci: fix APK version detection
This action was mostly based on the autorelease CI job and somehow there
is an error that if multiple packages are affected, the path is
concatenated instead of adding a space.

Secondly the APK return code 0 wasn't good enough for the if condition
and caused it to trigger even on valid versions.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-08-16 13:24:41 +02:00
Paul Spooren 4a136ee40a ci: check if packages use an APK compatible version
APK uses a deterministic version schema, have the CI check that changed
packages actually follow that version schema.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-08-15 13:28:12 +02:00