chore(release): publish 0.3.1 (#11)
* chore(release): publish 0.3.1 * docs(release): document branch-protected PR workflow
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 0.3.1 - 2026-05-29
|
||||
|
||||
- Bump CLI version header to `0.29.0` for Command Code API parity.
|
||||
- Harden PR security pipeline CI configuration.
|
||||
|
||||
## 0.3.0 - 2026-05-28
|
||||
|
||||
- Add OMP (Oh My Pi) provider compatibility: support `~/.omp/agent/auth.json` auth path, handle OMP's env-var-name-as-apiKey quirk, convert OMP system prompt arrays to text.
|
||||
|
||||
+23
-9
@@ -7,7 +7,8 @@ Recommended flow:
|
||||
- publish prereleases with the `next` dist-tag
|
||||
- smoke-test the npm package directly in pi
|
||||
- publish stable releases with the `latest` dist-tag
|
||||
- commit and tag the stable release
|
||||
- commit the release on a branch, open a PR, and merge after CI passes
|
||||
- tag the stable release on `main` after merge
|
||||
- comment on the related PR or issue after shipping
|
||||
|
||||
## Prerelease flow
|
||||
@@ -144,12 +145,32 @@ npm pack --dry-run
|
||||
git diff --check
|
||||
```
|
||||
|
||||
Commit and tag:
|
||||
Commit on a release branch and open a PR:
|
||||
|
||||
```sh
|
||||
git checkout -b release/0.1.1
|
||||
git add .
|
||||
git commit -m "Release 0.1.1"
|
||||
git push origin release/0.1.1
|
||||
gh pr create --title "chore(release): publish 0.1.1" --base main
|
||||
```
|
||||
|
||||
`main` is branch-protected. The release must go through a PR with passing CI.
|
||||
|
||||
Once CI passes, approve and merge:
|
||||
|
||||
```sh
|
||||
gh pr review <number> --approve
|
||||
gh pr merge <number> --squash --delete-branch
|
||||
```
|
||||
|
||||
After merge, pull `main` and tag locally:
|
||||
|
||||
```sh
|
||||
git checkout main
|
||||
git pull origin main
|
||||
git tag -a v0.1.1 -m "Release 0.1.1"
|
||||
git push origin v0.1.1
|
||||
```
|
||||
|
||||
Publish stable:
|
||||
@@ -172,13 +193,6 @@ Expected:
|
||||
- `latest` points to the stable version
|
||||
- the stable version exists on npm
|
||||
|
||||
Push commit and tag:
|
||||
|
||||
```sh
|
||||
git push origin main
|
||||
git push origin v0.1.1
|
||||
```
|
||||
|
||||
## GitHub follow-up
|
||||
|
||||
Comment on the related PR and issue after publishing and pushing:
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "pi-commandcode-provider",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "pi-commandcode-provider",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.1",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@earendil-works/pi-ai": "0.75.5"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pi-commandcode-provider",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"description": "pi custom provider for Command Code API (commandcode.ai)",
|
||||
"type": "module",
|
||||
"keywords": [
|
||||
|
||||
Reference in New Issue
Block a user