mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-04 02:42:19 +00:00
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:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user