Support tags with underscores that denote a new version with no bump from docker #2

Closed
opened 2021-09-03 18:27:01 +00:00 by roxxers · 3 comments

Noticing that a few versions we have in the recipes for abra have an underscore suffix like 1.2.3_1 and this seems to be when we have multiple tags for the same version. I recently added tagcmp's to the function to get the latest version but atm tagcmp does not consider this a valid tag. So we should add it in to work with these. Most likely that any tag with a _ is bigger than its non-suffixed version

Noticing that a few versions we have in the recipes for abra have an underscore suffix like `1.2.3_1` and this seems to be when we have multiple tags for the same version. I recently added tagcmp's to the function to get the latest version but atm tagcmp does not consider this a valid tag. So we should add it in to work with these. Most likely that any tag with a _ is bigger than its non-suffixed version
Author

Example error output from my abra patch

WARN[0000] 5.7.1_1 is not a valid tag: couldn't parse patch part of '5.7.1_1': '1_1' 
Example error output from my abra patch ``` WARN[0000] 5.7.1_1 is not a valid tag: couldn't parse patch part of '5.7.1_1': '1_1'
Owner

Would rather avoid writing this code, see coop-cloud/go-abra#66 (comment) for more.

Would rather avoid writing this code, see https://git.coopcloud.tech/coop-cloud/go-abra/pulls/66#issuecomment-8362 for more.
Owner
https://git.coopcloud.tech/coop-cloud/go-abra/pulls/66#issuecomment-8406
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/tagcmp#2
No description provided.