Skip to content

docs: update CLAUDE.md — parser files are now committed to git #12

docs: update CLAUDE.md — parser files are now committed to git

docs: update CLAUDE.md — parser files are now committed to git #12

Workflow file for this run

name: Release Launcher
on:
push:
tags:
- 'v[0-9]*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
# Only run for launcher tags (v*), not daemon-v* or local-v*.
if: "!startsWith(github.ref_name, 'daemon-') && !startsWith(github.ref_name, 'local-')"
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version: '1.26'
- uses: oven-sh/setup-bun@v2
- name: Cache ANTLR4 JAR
uses: actions/cache@v5
with:
path: ~/.m2/repository/org/antlr/antlr4
key: antlr4-4.13.2
- name: Install ANTLR4
run: pip install 'antlr4-tools==0.2.2'
- name: Generate parser
run: make grammar
env:
ANTLR4_TOOLS_ANTLR_VERSION: '4.13.2'
- name: Build launcher binaries
run: make release-launcher
- name: Generate SHA256 checksums
run: |
cd bin
sha256sum mxcli-linux-amd64 mxcli-linux-arm64 \
mxcli-darwin-amd64 mxcli-darwin-arm64 \
mxcli-windows-amd64.exe mxcli-windows-arm64.exe > SHA256SUMS
cat SHA256SUMS
- name: Create GitHub Release
uses: softprops/action-gh-release@v3
with:
generate_release_notes: true
files: |
bin/mxcli-linux-amd64
bin/mxcli-linux-arm64
bin/mxcli-darwin-amd64
bin/mxcli-darwin-arm64
bin/mxcli-windows-amd64.exe
bin/mxcli-windows-arm64.exe
bin/SHA256SUMS
install.sh
install.ps1