diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dde591d..cf0d05c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 @@ -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 }} @@ -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 diff --git a/README.md b/README.md index 389ec72..7d3c62f 100644 --- a/README.md +++ b/README.md @@ -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 ```