Commit Graph

3 Commits

Author SHA1 Message Date
Aurel Canciu 2def150710
Implement numerical ordering policy
Converts the given list of tags to floats and compares them based on the
ordering rule.
If a tag is not convertible, it will err and fail to compute the latest
version.

Fixes #102

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-02-11 13:06:50 +02:00
Aurel Canciu cbcad122f9
Implement policy-level tag regex filtering
Tag regex filtering allows the user to filter tags based on a regular
expression pattern and enables tag version extraction through capture
group replacement reference.

Fixes #73

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-01-13 16:42:40 +02:00
Aurel Canciu 9be3bc2325
Implement Alphabetical order policy
This implementation allows one to set a `MatchTagPrefix` to filter a
list of tags and/or use `Order` to set the ordering rule by which tags
are evaluated.

Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-12-09 21:02:42 +02:00