mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
feat(hyprland): move things to separate folder real, better upd scr (#7222)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
rpm.global("commit", gh_commit("hyprwm/hyprgraphics"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh_rawfile("hyprwm/hyprgraphics", "main", "VERSION"));
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
|
||||
// FIXME: should be updbranch but we also need nightly and we are using gh_commit()?
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
open_file(`${dir}/VER_hyprlang.txt`, "w").write(bump::madoguchi("hyprlang.nightly", labels.branch));
|
||||
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
||||
let rel = spec::get_release(rpm).parse_int();
|
||||
rpm.release(rel + 1);
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
0.10.0^20251005git.3df7bde
|
||||
@@ -0,0 +1,16 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
// FIXME: should be updbranch but we also need nightly and we are using gh_commit()?
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
open_file(`${dir}/VER_hyprutil.txt`, "w").write(bump::madoguchi("hyprutils.nightly", labels.branch));
|
||||
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
||||
let rel = spec::get_release(rpm).parse_int();
|
||||
rpm.release(rel + 1);
|
||||
}
|
||||
|
||||
rpm.global("commit", gh_commit("hyprwm/hyprlang"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh_rawfile("hyprwm/hyprlang", "main", "VERSION"));
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
import "andax/spec.rhai" as spec;
|
||||
|
||||
let v = gh_rawfile("hyprwm/hyprlock", "main", "VERSION");
|
||||
v.trim();
|
||||
rpm.version(v);
|
||||
|
||||
// FIXME: should be updbranch but we also need nightly and we are using gh_commit()?
|
||||
let dir = sub(`/[^/]+$`, "", __script_path);
|
||||
open_file(`${dir}/VER_hyprgraphics.txt`, "w").write(bump::madoguchi("hyprgraphics.nightly", labels.branch));
|
||||
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
|
||||
let rel = spec::get_release(rpm).parse_int();
|
||||
rpm.release(rel + 1);
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
rpm.global("commit", gh_commit("hyprwm/hyprgraphics"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh_rawfile("hyprwm/hyprgraphics", "main", "VERSION"));
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
rpm.global("commit", gh_commit("hyprwm/hyprlang"));
|
||||
if rpm.changed() {
|
||||
rpm.global("ver", gh_rawfile("hyprwm/hyprlang", "main", "VERSION"));
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
let v = gh_rawfile("hyprwm/hyprlock", "main", "VERSION");
|
||||
v.trim();
|
||||
rpm.version(v);
|
||||
Reference in New Issue
Block a user