Files
packages/anda/devs/zed/nightly/update.rhai
T
Raboneko 7b3fdc34a7 add: zed-nightly (#1377) (#1395)
* wip

* remove old desktop file

* remove --frozen from build

* bump commit and use correct version

* check Cargo.toml for version

* fix spacing in anda.hcl

* slow down zed build

* run with 4 jobs

* zed-nightly(anda): tag as large

* ci: if package is labelled as large, use lg runners for x86

* don't slow down build

* Update zed-nightly.spec

Signed-off-by: june <159748074+june-fish@users.noreply.github.com>

* Update zed-nightly.spec

Signed-off-by: june <159748074+june-fish@users.noreply.github.com>

* use rpm profile

* use correct paths for installing zed binaries

* remove unneded debug_package line

* use cargo_install macro

* Revert "use cargo_install macro"

This reverts commit a03c3b3a69.

* don't mangle sources

* reorganize zed
to prepare for multiple packages

---------

Signed-off-by: june <159748074+june-fish@users.noreply.github.com>
Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
Co-authored-by: lea <lleyton@fyralabs.com>
Co-authored-by: madomado <madonuko@outlook.com>
(cherry picked from commit 2291a214d9)

Co-authored-by: june <159748074+june-fish@users.noreply.github.com>
2024-06-26 21:10:01 -07:00

10 lines
372 B
Plaintext

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);
rpm.global("ver", v);
rpm.global("commit_date", date());
rpm.release();
}
}