Skip to content

Commit

Permalink
self update - avoid a,b,rc
Browse files Browse the repository at this point in the history
  • Loading branch information
OlofBlomqvist committed Nov 13, 2024
1 parent a4d117b commit ab9ee89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/self_update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ pub async fn update() -> anyhow::Result<()> {
.expect("failed to deserialize").iter().filter(|x|{
if let Some(t) = &x.tag_name {
t.to_lowercase().contains("-preview") == false
&& t.to_lowercase().contains("-alpha") == false
&& t.to_lowercase().contains("-beta") == false
&& t.to_lowercase().contains("-rc") == false
} else {
false
}
Expand Down

0 comments on commit ab9ee89

Please sign in to comment.