feat(terra-gpg-keys): Auto update on Rawhide (#8462)

* feat: Auto update GPG keys on Rawhide

* fix: Update script file
This commit is contained in:
Gilver
2025-12-18 15:10:14 -06:00
committed by GitHub
parent bf278d66a4
commit fb1cfd5a12
2 changed files with 8 additions and 0 deletions
View File
+8
View File
@@ -0,0 +1,8 @@
import "andax/bump_extras.rhai" as bump;
open_file("anda/terra/gpg-keys/RELEASE.txt", "w").write(bump::as_bodhi_ver(labels.branch));
let dir = sub(`/[^/]+$`, "", __script_path);
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
rpm.release();
}