kiwix / kiwix-apple-custom

GNU General Public License v3.0
2 stars 2 forks source link

Trigger CD build, and set build version from GitHub tags #12

Closed BPerlakiH closed 9 months ago

BPerlakiH commented 10 months ago

The CD GitHub action should start from a published tag. The tag should contain the folder name (brand name), the build number (the [PATCH] part of the version) as the [MAJOR].[MINOR] is based on the ZIM file date (see issue on versioning). The tag should be validated, if it has the right format, and if the folder actually exists. Eg. a valid tag should look like: dwds_03 out of which we have the dwds folder/brand to be built with the build number 3 (there are no zeros in semantic versioning). Also it should be possible to extend the tag with a further optional part, such as: dwds_11_A1 or dwds_11_test02 in order to be able to retry building or overriding builds with the same number, but having different tags.

kelson42 commented 9 months ago

Fixes by #13 I guess