This guide walks through publishing bunsenite to all package managers.
You’ll need accounts and tokens for: - crates.io - Rust package registry - npm - Node.js package registry - GitHub - For releases and Homebrew tap
Go to your repo → Settings → Secrets and variables → Actions → New repository secret
| Secret Name | How to Get It |
|---|---|
|
https://crates.io/settings/tokens → New Token |
|
https://www.npmjs.com/settings/tokens → Generate New Token (Automation) |
# Create the v1.0.0 tag
git tag -a v1.0.0 -m "Release v1.0.0"
# Push the tag (this triggers the release workflow)
git push origin v1.0.0This automatically: - Builds binaries for Linux, macOS, Windows - Creates a GitHub Release with all artifacts - Publishes to crates.io - Publishes to npm
Option A: Create your own tap (recommended for new packages):
# Create a new repo: hyperpolymath/homebrew-tap
# Then add the formula
mkdir -p homebrew-tap/Formula
cp packaging/homebrew/bunsenite.rb homebrew-tap/Formula/
# Update the sha256 from the GitHub release
# Then users install with:
# brew tap hyperpolymath/tap
# brew install bunseniteOption B: Submit to homebrew-core (after package is established):
# Fork homebrew/homebrew-core
# Add Formula/bunsenite.rb
# Submit PR# Clone your AUR package (first time: create it)
git clone ssh://aur@aur.archlinux.org/bunsenite.git aur-bunsenite
cd aur-bunsenite
# Copy PKGBUILD
cp ../packaging/arch/PKGBUILD .
# Update checksums
updpkgsums
# Generate .SRCINFO
makepkg --printsrcinfo > .SRCINFO
# Commit and push
git add PKGBUILD .SRCINFO
git commit -m "Update to v1.0.0"
git push-
Create
com.campaignforcoolercoding.bunsenite/directory -
Copy
packaging/flatpak/com.campaignforcoolercoding.bunsenite.yml -
Submit PR
-
Fork https://github.com/ScoopInstaller/Main (or create own bucket)
-
Add
bucket/bunsenite.json -
Submit PR
cd packaging/chocolatey
# Update bunsenite.nuspec with correct URLs
choco pack
choco push bunsenite.1.0.0.nupkg --source https://push.chocolatey.org/-
Create
manifests/c/CampaignForCoolerCoding/Bunsenite/1.0.0/ -
Copy and split manifest files
-
Submit PR
# Step 1: Add secrets to GitHub (do this in browser)
# Step 2: Tag and release
git tag -a v1.0.0 -m "Release v1.0.0"
git push origin v1.0.0
# Step 3: Wait for CI, then verify
# - Check GitHub Actions for build status
# - Check https://crates.io/crates/bunsenite
# - Check https://www.npmjs.com/package/bunsenite