A v-tag releases Luxe with installers, Homebrew and crates.io, SECURITY.md says how to report a hole, and luxe update runs the installer's updater
- release.yml, generated by dist from dist-workspace.toml, builds macOS, Linux and Windows, attests every artifact, and publishes shell and PowerShell installers with their updater, a luxe formula in evanwhittaker/homebrew-tap, and the crates through Trusted Publishing (publish-crates.yml, which skips versions crates.io already has). - luxe update recognizes an installer copy by luxe-cli-update beside it and runs that. - The README, the install guide and the site lead with the installer, Homebrew and Windows. - SECURITY.md: report privately through a GitHub advisory or contact@luxe.dev.
This commit is contained in:
@@ -3,13 +3,20 @@
|
||||
|
||||
type Channel = { id: string; label: string; command: string; note?: string };
|
||||
|
||||
const releases = "https://github.com/evanwhittaker/luxe/releases/latest/download";
|
||||
const channels: Channel[] = [
|
||||
{ id: "cargo", label: "cargo", command: "cargo install luxe-cli" },
|
||||
{
|
||||
id: "source",
|
||||
label: "source",
|
||||
command: "git clone https://github.com/evanwhittaker/luxe && cd luxe && cargo build --release",
|
||||
id: "shell",
|
||||
label: "shell",
|
||||
command: `curl --proto '=https' --tlsv1.2 -LsSf ${releases}/luxe-cli-installer.sh | sh`,
|
||||
},
|
||||
{ id: "brew", label: "brew", command: "brew install evanwhittaker/tap/luxe" },
|
||||
{
|
||||
id: "windows",
|
||||
label: "windows",
|
||||
command: `powershell -ExecutionPolicy Bypass -c "irm ${releases}/luxe-cli-installer.ps1 | iex"`,
|
||||
},
|
||||
{ id: "cargo", label: "cargo", command: "cargo install --locked luxe-cli" },
|
||||
];
|
||||
|
||||
let active = $state(channels[0]);
|
||||
|
||||
Reference in New Issue
Block a user