Add nightly filters

This commit is contained in:
windowsboy111
2023-01-13 23:45:03 +08:00
parent e852717c1d
commit 8de790bbbb
9 changed files with 37 additions and 17 deletions
+3
View File
@@ -2,4 +2,7 @@ project "pkg" {
rpm {
spec = "openasar-canary.spec"
}
labels {
nightly = "1"
}
}
+6 -4
View File
@@ -1,4 +1,6 @@
let req = new_req("https://api.github.com/repos/GooseMod/OpenAsar/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.define("commit", sha);
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/GooseMod/OpenAsar/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.define("commit", sha);
}
@@ -2,4 +2,7 @@ project "pkg" {
rpm {
spec = "latte-dock-nightly.spec"
}
labels {
nightly = "1"
}
}
@@ -1,4 +1,6 @@
let req = new_req("https://api.github.com/repos/KDE/latte-dock/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = json(req.get()).sha;
rpm.global("commit", sha);
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/KDE/latte-dock/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = json(req.get()).sha;
rpm.global("commit", sha);
}
@@ -2,4 +2,7 @@ project "pkg" {
rpm {
spec = "prismlauncher-nightly.spec"
}
labels {
nightly = "1"
}
}
+6 -4
View File
@@ -1,4 +1,6 @@
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.global("commit", sha);
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.global("commit", sha);
}
@@ -2,4 +2,7 @@ project "pkg" {
rpm {
spec = "prismlauncher-qt5-nightly.spec"
}
labels {
nightly = "1"
}
}
@@ -1,4 +1,6 @@
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.global("commit", sha);
if filters.contains("nightly") {
let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD");
req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`);
let sha = req.get().json().sha;
rpm.global("commit", sha);
}
@@ -1,5 +1,5 @@
Name: blackbox-terminal
Version: 0.12.2
Version: 0.13.0
Release: %autorelease
Summary: A beautiful GTK 4 terminal
License: GPLv3