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
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
uses: changesets/action@v1
with:
publish: pnpm release
createGithubReleases: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down Expand Up @@ -119,17 +120,22 @@ jobs:
- name: Create archive
run: |
if [[ "${{ matrix.target }}" == *"windows"* ]]; then
zip agentplugins-${{ matrix.target }}.zip agentplugins-${{ matrix.target }}
zip agentplugins-${{ matrix.target }}.zip agentplugins-${{ matrix.target }}.exe
else
tar -czf agentplugins-${{ matrix.target }}.tar.gz agentplugins-${{ matrix.target }}
fi

- name: Generate checksum
run: |
if [[ "${{ matrix.target }}" == *"windows"* ]]; then
BIN="agentplugins-${{ matrix.target }}.exe"
else
BIN="agentplugins-${{ matrix.target }}"
fi
if command -v shasum &>/dev/null; then
shasum -a 256 agentplugins-${{ matrix.target }} | awk '{print $1}' > agentplugins-${{ matrix.target }}.sha256
shasum -a 256 "$BIN" | awk '{print $1}' > agentplugins-${{ matrix.target }}.sha256
else
sha256sum agentplugins-${{ matrix.target }} | awk '{print $1}' > agentplugins-${{ matrix.target }}.sha256
sha256sum "$BIN" | awk '{print $1}' > agentplugins-${{ matrix.target }}.sha256
fi

- name: Upload artifact
Expand All @@ -146,7 +152,7 @@ jobs:
github-release:
name: Create GitHub Release
needs: [release-npm, build-binaries]
if: needs.release-npm.outputs.published == 'true'
if: always() && needs.release-npm.outputs.published == 'true' && needs.build-binaries.result != 'cancelled'
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
Expand Down Expand Up @@ -198,7 +204,7 @@ jobs:
update-homebrew-tap:
name: Update Homebrew Tap
needs: [release-npm, github-release]
if: needs.release-npm.outputs.published == 'true'
if: always() && needs.release-npm.outputs.published == 'true' && needs.github-release.result == 'success'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

Install any plugin into every supported AI agent — **Tier-1:** Claude Code, Codex, OpenCode, Pi Mono. **Tier-2:** Copilot, Gemini, Kimi.

[**Sponsor development →**](https://buy.polar.sh/polar_cl_Mv1gdlG7bw3I70EC9IHtfeSHJj4PEKvA7JAUz23CFhj)

```bash
npx @agentplugins/cli add user/awesome-plugin
```
Expand Down
Loading