A GitHub template repository for building and shipping a Bunli CLI with real multi-platform releases.
- Click "Use this template" on GitHub.
- Update names:
package.json: package name, descriptionpackage.json#binkey: this becomes the CLI binary namebunli.config.ts:nameandversion.bunli-releaser.yml:project.binary
- Update Homebrew settings in
.github/workflows/release.yml:brew-tapHOMEBREW_TAP_TOKEN
bun install
bun run dev -- greet --name WorldThis repo is meant to be tagged with strict semver tags:
git tag v0.1.0
git push origin v0.1.0The release workflow publishes:
${name}-${version}-${os}-${arch}.tar.gz(macOS/Linux)${name}-${version}-${os}-${arch}.zip(Windows)checksums.txt(sha256)
Notes:
- Homebrew consumes macOS/Linux assets only. Windows is still published on the GitHub Release.
- If you enable
build.compressinbunli.config.ts,bunli-releaserwill fail. Keep it disabled.