docs: update changelog
This commit is contained in:
@@ -2,6 +2,14 @@
|
|||||||
|
|
||||||
## 0.5.1 — Unreleased
|
## 0.5.1 — Unreleased
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Help banner now includes `bird` version (and git sha when available).
|
||||||
|
- Subcommand help now lists global options (credentials, output controls, timeouts, etc.).
|
||||||
|
- Help output now documents config files and env vars.
|
||||||
|
|
||||||
|
### Tests
|
||||||
|
- Add regression test for global options in subcommand help.
|
||||||
|
|
||||||
## 0.5.0 — 2026-01-01
|
## 0.5.0 — 2026-01-01
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+11
-8
@@ -1,4 +1,4 @@
|
|||||||
# Releasing bird 0.1.x
|
# Releasing bird
|
||||||
|
|
||||||
Target destinations:
|
Target destinations:
|
||||||
- npm: `@steipete/bird`
|
- npm: `@steipete/bird`
|
||||||
@@ -6,7 +6,7 @@ Target destinations:
|
|||||||
|
|
||||||
## Checklist (npm + GitHub)
|
## Checklist (npm + GitHub)
|
||||||
1) Version bump
|
1) Version bump
|
||||||
- Update `package.json` `version` (semver, e.g., `0.1.0`).
|
- Update `package.json` `version` (semver, e.g., `0.5.0`).
|
||||||
- Update `CHANGELOG.md` and tag the release section.
|
- Update `CHANGELOG.md` and tag the release section.
|
||||||
|
|
||||||
2) Clean build & tests
|
2) Clean build & tests
|
||||||
@@ -17,9 +17,12 @@ Target destinations:
|
|||||||
3) Publish to npm (scoped)
|
3) Publish to npm (scoped)
|
||||||
- Ensure you are logged in (`npm whoami`).
|
- Ensure you are logged in (`npm whoami`).
|
||||||
- `npm publish --access public` (from repo root). Package name is `@steipete/bird`.
|
- `npm publish --access public` (from repo root). Package name is `@steipete/bird`.
|
||||||
|
- Verify:
|
||||||
|
- `npm view @steipete/bird version`
|
||||||
|
- `npx -y @steipete/bird@<version> --help`
|
||||||
|
|
||||||
4) Git tag & GitHub release
|
4) Git tag & GitHub release
|
||||||
- `git tag v0.1.0 && git push origin v0.1.0`
|
- `git tag v<version> && git push origin v<version>`
|
||||||
- Create GitHub release from the tag. Include changelog notes and attach optional binary (see below).
|
- Create GitHub release from the tag. Include changelog notes and attach optional binary (see below).
|
||||||
|
|
||||||
## Optional: attach compiled binary
|
## Optional: attach compiled binary
|
||||||
@@ -29,17 +32,17 @@ If you want a single-file binary for Homebrew/GitHub assets:
|
|||||||
|
|
||||||
## Homebrew tap update (steipete/homebrew-tap)
|
## Homebrew tap update (steipete/homebrew-tap)
|
||||||
1) Package the binary
|
1) Package the binary
|
||||||
- From repo root: `tar -czf bird-macos-universal-v0.1.0.tar.gz bird`
|
- From repo root: `tar -czf bird-macos-universal-v<version>.tar.gz bird`
|
||||||
- Compute SHA: `shasum -a 256 bird-macos-universal-v0.1.0.tar.gz`
|
- Compute SHA: `shasum -a 256 bird-macos-universal-v<version>.tar.gz`
|
||||||
|
|
||||||
2) Update formula in tap repo
|
2) Update formula in tap repo
|
||||||
- File: `homebrew-tap/bird.rb` (create if absent). Model it after `poltergeist.rb`.
|
- File: `homebrew-tap/bird.rb` (create if absent). Model it after `poltergeist.rb`.
|
||||||
- Fields to update:
|
- Fields to update:
|
||||||
- `url "https://github.com/steipete/bird/releases/download/v0.1.0/bird-macos-universal-v0.1.0.tar.gz"`
|
- `url "https://github.com/steipete/bird/releases/download/v<version>/bird-macos-universal-v<version>.tar.gz"`
|
||||||
- `sha256 "<calculated_sha>"`
|
- `sha256 "<calculated_sha>"`
|
||||||
- `version "0.1.0"`
|
- `version "<version>"`
|
||||||
- Install block: `bin.install "bird"`
|
- Install block: `bin.install "bird"`
|
||||||
- `test do`: minimal `assert_match "0.1.0", shell_output("#{bin}/bird --version")`
|
- `test do`: minimal `assert_match "<version>", shell_output("#{bin}/bird --version")`
|
||||||
|
|
||||||
3) Push tap changes
|
3) Push tap changes
|
||||||
- `git add bird.rb && git commit -m "bird 0.1.0" && git push`
|
- `git add bird.rb && git commit -m "bird 0.1.0" && git push`
|
||||||
|
|||||||
Reference in New Issue
Block a user