You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to be able to sort these kinds of tags in their semver order.
This settings API is evolving a little bit... here is one idea for how we could give some control over how tags are sorted and what string you actually end up using when doing the replacement in a file:
https://github.com/curl/curl.git:
replace_in_files:
- filename: file.txtpattern: curl==(\S+)tag_filter:
from: 'curl-(\d+)_(\d+)_(\d+)'to: '$1'# the original full tag namesort_as: '$2.$3.$4'# this format will only be used for sorting (semver)semver:
enabled: truerange: '< 8.0.0'prereleases: false
The text was updated successfully, but these errors were encountered:
The semver parsing is strict, and tags that are almost semver can be out of order.
Examples:
curl-7_59_0
- https://github.com/curl/curlrelease-57-1
- https://github.com/unicode-org/icuOpenSSL_1_0_2o
- https://github.com/openssl/openssl.gitWe want to be able to sort these kinds of tags in their semver order.
This settings API is evolving a little bit... here is one idea for how we could give some control over how tags are sorted and what string you actually end up using when doing the replacement in a file:
The text was updated successfully, but these errors were encountered: