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
{{ message }}
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
say, we have a item.tag_name = "abc", deletePattern = "123"
tag_name.match(deletePattern) will return null, and
item.tag_name.match(deletePattern) !== -1 will be true
which means: even if delete_tag_pattern does NOT match, it will delete the release!
below is the log indicating the above logic:
releases matching 360T7 will be targeted
🌶 given keep_min_download_counts is 0, this will not enable the download count removal rule
🌶 given delete_expired_data is 0
💬 found total of 3 active release(s)
🍻 found 1 older release(s)
starting to delete v23.9.28-ipq807x with id 122852717
The text was updated successfully, but these errors were encountered:
smallprogram
added a commit
to smallprogram/delete-older-releases
that referenced
this issue
Sep 29, 2023
the recent commit(1c5fa81) has changed the match from string match to regex, however, the match is broken:
the code:
say, we have a
item.tag_name
= "abc",deletePattern
= "123"tag_name.match(deletePattern) will return
null
, anditem.tag_name.match(deletePattern) !== -1 will be
true
which means: even if
delete_tag_pattern
does NOT match, it will delete the release!below is the log indicating the above logic:
releases matching 360T7 will be targeted
🌶 given
keep_min_download_counts
is 0, this will not enable the download count removal rule🌶 given
delete_expired_data
is 0💬 found total of 3 active release(s)
🍻 found 1 older release(s)
starting to delete v23.9.28-ipq807x with id 122852717
The text was updated successfully, but these errors were encountered: