mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(astal-gtk): add commit (#6204)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
%global commit 5d4eef6
|
||||
%global commit_date 20250812
|
||||
%global commit 20bd8318e4136fbd3d4eb2d64dbabc3acbc915dd
|
||||
%global shortcommit 20bd831
|
||||
%global commit_date 20250830
|
||||
|
||||
Name: astal
|
||||
Version: 0^%commit_date.%commit
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let mg = bump::madoguchi_json("astal", labels.branch);
|
||||
rpm.global("commit_date", `0\^(\d+)\.([[:xdigit:]]+)`.find(mg.ver, 1));
|
||||
rpm.global("commit", `0\^(\d+)\.([[:xdigit:]]+)`.find(mg.ver, 2));
|
||||
rpm.global("shortcommit", `0\^(\d+)\.([[:xdigit:]]+)`.find(mg.ver, 2));
|
||||
if rpm.changed() {
|
||||
rpm.release(`^(\d+)\.`.find(mg.rel, 1));
|
||||
rpm.global("commit", spec::get_global(#{
|
||||
f: open_file("anda/lib/astal/astal/astal.spec").read_string()
|
||||
}, "commit"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user