diff --git a/anda/apps/goofcord/nightly/update.rhai b/anda/apps/goofcord/nightly/update.rhai index 9b5a9dc2f8..5fa3f286b1 100644 --- a/anda/apps/goofcord/nightly/update.rhai +++ b/anda/apps/goofcord/nightly/update.rhai @@ -2,8 +2,8 @@ rpm.global("commit", gh_commit("Milkshiift/GoofCord")); if rpm.changed() { let v = gh_tag("Milkshiift/GoofCord"); v.crop(1); - if `[\d.]+-beta\.\d+`.find_all(v).len == 0 { - let v = sub(`-beta\.\d+`, "~", v); + if `[\d.]+-beta\.\d+`.find_all(v).len == 1 { + let v = sub(`-beta\.\d+`, `~`, v); rpm.global("ver", v); } else { rpm.global("ver", v + `^`);