From 2daed90173d365b40f07205c7fb0e19600f65058 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 3 Dec 2025 13:49:48 -0800 Subject: [PATCH] fix(xone-nightly): Import wasn't working for some reason? (#7945) (#7954) (cherry picked from commit 9f260cbb59bca566e5dcd0d6e639e769e13f24cf) Signed-off-by: Gilver Co-authored-by: Gilver --- anda/system/xone/nightly/kmod-common/update.rhai | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/anda/system/xone/nightly/kmod-common/update.rhai b/anda/system/xone/nightly/kmod-common/update.rhai index bf0ec4fdfe..e6f5f5bfc3 100644 --- a/anda/system/xone/nightly/kmod-common/update.rhai +++ b/anda/system/xone/nightly/kmod-common/update.rhai @@ -1,9 +1,8 @@ +import "andax/bump_extras.rhai" as bump; + rpm.global("commit", gh_commit("dlundqvist/xone")); if rpm.changed() { - import "andax/bump_extras.rhai" as bump; rpm.release(); rpm.global("commitdate", date()); - let ver = bump::madoguchi("xone", labels.branch); - ver.crop(1); - rpm.global("ver", ver); + rpm.global("ver", bump::madoguchi("xone", labels.branch)); }