Skip to content

Commit

Permalink
feat(zed-preview): include releases that are not pre-releases (#1753)
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
  • Loading branch information
madonuko authored Jul 29, 2024
1 parent 726e5b4 commit 1e2779d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions anda/devs/zed/preview/update.rhai
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
let releases = "https://api.github.com/repos/zed-industries/zed/releases".get().json_arr();
for release in releases {
if !release.prerelease {
continue;
}
let tag = release.tag_name;
tag.pop(4); // remove the "-pre" suffix
tag.crop(1); // remove "v"
Expand Down

0 comments on commit 1e2779d

Please sign in to comment.