Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,15 @@ jobs:
package-manager-cache: false
- run: npm ci
- run: npm run check
- run: npm publish --access public
- name: Choose the npm dist-tag from the version
id: tag
run: |
version="$(node -p "require('./package.json').version")"
# A prerelease (X.Y.Z-id.N) publishes on its first identifier, never latest.
case "$version" in
*-*) prerelease="${version#*-}"; tag="${prerelease%%.*}" ;;
*) tag=latest ;;
esac
echo "Publishing $version on $tag"
echo "tag=$tag" >> "$GITHUB_OUTPUT"
- run: npm publish --access public --tag "${{ steps.tag.outputs.tag }}"
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased
## 0.5.0-rc.0

Release candidate on the npm `rc` tag; `latest` stays 0.4.1 during the soak.

- Run every Peer Cash MCP tool on `peer.sell` from `@zkp2p/sdk` 0.16.0-rc.2,
including the Relay source tools (`peer_cash_source_capabilities`,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "peer-protocol-cli",
"version": "0.4.1",
"version": "0.5.0-rc.0",
"mcpName": "io.github.zkp2p/peer",
"description": "Agent-first CLI and MCP server for the Peer (ZKP2P) protocol and Peer Cash",
"bin": {
Expand Down
Loading