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]);
|
||||
|
||||
@@ -72,7 +72,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
</div>
|
||||
|
||||
<p class="hero__note muted">
|
||||
Works on Linux, macOS, and Windows. <a href="/docs/install/#what-it-needs">Learn more</a>.
|
||||
Works on Linux, macOS, and Windows. <a href="/docs/install/#requirements">Learn more</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -611,8 +611,8 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
container-type: inline-size;
|
||||
grid-area: 1 / 1;
|
||||
display: grid;
|
||||
/* An auto track grows to its widest unbreakable line, and the source install command is one:
|
||||
it pushed the column, and everything centered in it, under the demo */
|
||||
/* An auto track grows to its widest unbreakable line, and an install command is one: it pushed
|
||||
the column, and everything centered in it, under the demo */
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
justify-items: center;
|
||||
text-align: center;
|
||||
@@ -956,7 +956,7 @@ const NARROW = { mobileCols: 72, mobileRows: 24 };
|
||||
}
|
||||
|
||||
/* Centered as a block, but its contents are a terminal: tab labels and a shell command read from
|
||||
the left, and the inherited centering put `cargo install luxe-cli` in the middle of its own box. */
|
||||
the left, and the inherited centering put the install command in the middle of its own box. */
|
||||
.hero__install {
|
||||
width: min(100%, 44rem);
|
||||
margin-bottom: var(--space-3);
|
||||
|
||||
Reference in New Issue
Block a user