mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Remove nightly for discord-canary-openasar
This commit is contained in:
@@ -2,7 +2,4 @@ project pkg {
|
||||
rpm {
|
||||
spec = "discord-canary-openasar.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = "1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
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);
|
||||
rpm.release();
|
||||
}
|
||||
let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz");
|
||||
let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1);
|
||||
rpm.version(newver);
|
||||
|
||||
Reference in New Issue
Block a user