Skip to content

Commit

Permalink
fix(update): authy lomiri-ui-toolkit zed-* manrope albius stellar (#1468
Browse files Browse the repository at this point in the history
)
  • Loading branch information
madonuko authored Jul 10, 2024
1 parent e1841bf commit 5d384c8
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 5 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion anda/desktops/lomiri-unity/lomiri-ui-toolkit/update.rhai
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rpm.version(gitlab_tag("19057685"));
if rpm.changed() {
rpm.global("commit", gitlab_commit("19057685"));
rpm.global("commit", gitlab_commit("19057685", "main"));
rpm.release();
}
2 changes: 1 addition & 1 deletion anda/devs/zed/nightly/update.rhai
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if filters.contains("nightly") {
rpm.global("commit", gh_commit("zed-industries/zed"));
if rpm.changed() {
let v = find("(\\d+\\.\\d+\\d+\\.\\d+)", find("\nversion = \"(\\d+\\.\\d+\\d+\\.\\d+)\"\n", gh_rawfile("zed-industries/zed", "main", "crates/zed/Cargo.toml"), 1), 1);
let v = find("\nversion = \"([.\\d]+)\"\n", gh_rawfile("zed-industries/zed", "main", "crates/zed/Cargo.toml"), 1);
rpm.global("ver", v);
rpm.global("commit_date", date());
rpm.release();
Expand Down
5 changes: 4 additions & 1 deletion anda/devs/zed/preview/update.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ for release in releases {
let tag = release.tag_name;
tag.pop(4); // remove the "-pre" suffix
rpm.global("ver", tag);
terminate();
break;
if rpm.changed() {
rpm.release();
}
}
File renamed without changes.
3 changes: 3 additions & 0 deletions anda/langs/go/albius/anda.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ project pkg {
rpm {
spec = "albius.spec"
}
labels {
nightly = 1
}
}
8 changes: 7 additions & 1 deletion anda/langs/go/albius/update.rhai
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
rpm.version(gh("Vanilla-OS/Albius"));
if filters.contains("nightly") {
rpm.global("commit", gh_commit("Vanilla-OS/Albius"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}
}
2 changes: 1 addition & 1 deletion anda/tools/umstellar/update.rhai
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rpm.version("pypi_version", gh("Ultramarine-Linux/stellar"));
rpm.global("pypi_version", gh("Ultramarine-Linux/stellar"));

0 comments on commit 5d384c8

Please sign in to comment.