Skip to content

Commit

Permalink
Package incus
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpdp7 committed Aug 30, 2024
1 parent 6f6378e commit 59d2b66
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions repo/incus.ubpkg.sky
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
gh = github_repo("lxc/incus")

release = gh.latest_release()

suffix = {
"linux": "",
"macos": "",
"windows": "exe",
}[os]

asset = release.get_asset_url("bin.{os}.incus.{arch}{suffix}".format(os=os, arch=arch, suffix=suffix))
install_binary(download_asset(asset, 32*1024*1024), "incus")

0 comments on commit 59d2b66

Please sign in to comment.