ci: add release packaging
This commit is contained in:
1 parent
33b2d856bc
commit
441607f0da
18 files changed
+1056
-208
No files matched your search
@@ -48,6 +48,36 @@ Authentication is performed through Microsoft’s official services.
|
||||
|
||||
## installation
|
||||
|
||||
### macOS / Linux
|
||||
|
||||
release builds include shell and Homebrew installers generated by
|
||||
[`cargo-dist`](https://axodotdev.github.io/cargo-dist/).
|
||||
|
||||
```sh
|
||||
# installer script
|
||||
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/objz/mcl/releases/latest/download/mcl-launcher-installer.sh | sh
|
||||
|
||||
# Homebrew tap
|
||||
brew install objz/tap/mcl-launcher
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
release builds include a PowerShell installer and an MSI. WinGet and Chocolatey
|
||||
packages are submitted from release CI and become available after repository
|
||||
review.
|
||||
|
||||
```powershell
|
||||
# installer script
|
||||
powershell -ExecutionPolicy Bypass -c "irm https://github.com/objz/mcl/releases/latest/download/mcl-launcher-installer.ps1 | iex"
|
||||
|
||||
# WinGet
|
||||
winget install Objz.MclLauncher
|
||||
|
||||
# Chocolatey
|
||||
choco install mcl-launcher
|
||||
```
|
||||
|
||||
### Arch Linux
|
||||
|
||||
[](https://aur.archlinux.org/packages/mcl-launcher)
|
||||
@@ -69,7 +99,7 @@ also available on [crates.io](https://crates.io/crates/mcl-launcher)
|
||||
|
||||
### from source
|
||||
|
||||
requires a Rust toolchain.
|
||||
requires a Rust toolchain and a JDK (`javac` and `jar` on `PATH`).
|
||||
|
||||
```sh
|
||||
git clone https://github.com/objz/mcl.git
|
||||
@@ -77,10 +107,6 @@ cd mcl
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
### other platforms
|
||||
|
||||
mcl can be compiled for Linux, macOS, and Windows. right now it's only packaged for Arch Linux (AUR) but official packages for other platforms and package managers will be added continuously.
|
||||
|
||||
---
|
||||
|
||||
## where things live
|
||||
|
||||
Reference in new issue
Block a user