How maintainers ship a release. Users should follow INSTALL.md.
Distribution channels (one product, no separate Db2 edition):
| Channel | Artifact | Trigger |
|---|---|---|
| npm | foxschema on registry.npmjs.org |
.github/workflows/npm-publish.yml on v* tag |
| Docker | 5nickels/foxschema:latest + :vX.Y.Z (linux/amd64, includes Db2) |
.github/workflows/web-release.yml on v* tag |
| Homebrew | Formula/foxschema.rb in this repo |
Manual commit after npm publish |
| Desktop Tauri | Retired — do not publish | — |
| Winget | Retired — do not publish | — |
Version numbers are bumped automatically on merge to main
(.github/workflows/version-bump.yml). Do not bump version in feature PRs.
CI bumps 0.1.N → 0.1.N+1 (e.g. 0.1.66 → 0.1.67).
Tag the commit that has the version you want to publish (usually the bump commit):
git fetch origin main
git checkout main && git pull
# package.json should show the new version, e.g. 0.1.67
git tag v0.1.67
git push origin v0.1.67That starts:
- Web Release → Docker Hub + GHCR (
latestandv0.1.67) - npm Publish → needs repo secret
NPM_TOKEN
Or run manually:
gh workflow run web-release.yml --ref v0.1.67
gh workflow run npm-publish.yml --ref v0.1.67| Secret | Used by |
|---|---|
NPM_TOKEN |
npm publish (Automation token, publish rights on foxschema) |
DOCKERHUB_USERNAME |
Docker Hub push (5nickels) |
DOCKERHUB_TOKEN |
Docker Hub access token (read/write) |
After npm shows foxschema@VERSION, update the formula in this repo and push:
./packaging/homebrew/update-formula.sh 0.1.67
git add Formula/foxschema.rb
git commit -m "brew: foxschema 0.1.67"
git push origin mainUsers install with:
brew tap tedious-code/foxschema https://github.com/tedious-code/foxschema
brew trust tedious-code/foxschema
brew install foxschemaSee packaging/homebrew/README.md.
npm view foxschema version
docker pull 5nickels/foxschema:latest
npm install -g foxschema@latest
foxschema doctor
foxschema shortcut- Do not run Desktop Release (retired).
- Do not publish to Winget (retired).
- Do not publish separate
db2-latest/FoxSchema.DB2packages.
npm run build -w @foxschema/web
npm run build -w @foxschema/cli
node apps/cli/scripts/prepare-publish.mjs
# inspect apps/cli/npm-pack/ — do not npm publish unless intentional