httpcat-cli 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -540,13 +540,14 @@ jobs:
|
|
|
540
540
|
name: Update Homebrew Formula
|
|
541
541
|
runs-on: ubuntu-latest
|
|
542
542
|
needs: [prepare, publish-npm]
|
|
543
|
+
permissions:
|
|
544
|
+
contents: write # Required to push to homebrew tap repository
|
|
543
545
|
steps:
|
|
544
546
|
- name: Checkout homebrew tap
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
path: homebrew-tap
|
|
547
|
+
run: |
|
|
548
|
+
git clone https://${{ secrets.HOMEBREW_TAP_TOKEN }}@github.com/hathbanger/homebrew-httpcat.git homebrew-tap
|
|
549
|
+
cd homebrew-tap
|
|
550
|
+
git checkout main
|
|
550
551
|
|
|
551
552
|
- name: Wait for npm CDN propagation
|
|
552
553
|
run: |
|
|
@@ -594,14 +595,16 @@ jobs:
|
|
|
594
595
|
cat "$FORMULA_FILE"
|
|
595
596
|
|
|
596
597
|
- name: Commit and push Homebrew formula update
|
|
598
|
+
env:
|
|
599
|
+
GIT_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
|
|
597
600
|
run: |
|
|
598
601
|
cd homebrew-tap
|
|
599
602
|
git config user.name "github-actions[bot]"
|
|
600
603
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
601
604
|
git add Formula/httpcat.rb
|
|
602
605
|
git commit -m "Update httpcat to ${{ needs.prepare.outputs.version }}" || exit 0
|
|
603
|
-
|
|
604
|
-
git push
|
|
606
|
+
# Push using token in URL (simplest approach)
|
|
607
|
+
git push https://${GIT_TOKEN}@github.com/hathbanger/homebrew-httpcat.git HEAD:main
|
|
605
608
|
|
|
606
609
|
# Job 5: Create GitHub Release
|
|
607
610
|
create-release:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "httpcat-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "CLI tool for interacting with httpcat agent - create, buy, and sell tokens with x402 payments",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"test:integration": "vitest run tests/integration"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
|
+
"402.cat",
|
|
22
23
|
"httpcat",
|
|
23
24
|
"x402",
|
|
24
25
|
"tokens",
|