Skip to content

Commit

Permalink
Merge pull request #93 from oakcask/release-prebuilt-binary-for-apple…
Browse files Browse the repository at this point in the history
…-silicon

chore: prepare binary for Apple Silicon
  • Loading branch information
oakcask authored Oct 7, 2024
2 parents cea1d63 + 94a3080 commit bdb8b43
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
cross: true
- os: macos-latest
target: aarch64-apple-darwin
cross: false
runs-on: ${{ matrix.build.os }}
needs:
- get-next-version
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,22 @@ cargo install --git https://github.com/oakcask/git-toolbox.git

Or, download pre-built binary:

### Linux x86-64

```
curl -sSL https://github.com/oakcask/git-toolbox/releases/latest/download/x86_64-unknown-linux-gnu.tar.gz | tar zx -C /path/to/bin
```

### Linux ARM64

```
curl -sSL https://github.com/oakcask/git-toolbox/releases/latest/download/aarch64-unknown-linux-gnu.tar.gz | tar zx -C /path/to/bin
```

### MacOS (Apple Silicon)

```
curl -sSL https://github.com/oakcask/git-toolbox/releases/download/v2.0.0/aarch64-unknown-linux-gnu.tar.gz | tar zx -C /path/to/bin
curl -sSL https://github.com/oakcask/git-toolbox/releases/latest/download/aarch64-apple-darwin.tar.gz | tar zx -C /path/to/bin
```

## Usage
Expand Down

0 comments on commit bdb8b43

Please sign in to comment.