httpcat-cli 0.2.6 → 0.2.7-rc.2

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.
@@ -42,6 +42,8 @@ jobs:
42
42
  uses: ./.github/workflows/release.yml
43
43
  with:
44
44
  version: ${{ github.event.inputs.version }}
45
+ secrets:
46
+ HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
45
47
  permissions:
46
48
  id-token: write
47
49
  contents: write
@@ -8,6 +8,10 @@ on:
8
8
  description: "Version to release (e.g., 1.2.3). Leave empty for auto-detection from commits."
9
9
  required: false
10
10
  type: string
11
+ secrets:
12
+ HOMEBREW_TAP_TOKEN:
13
+ description: "GitHub token for accessing homebrew tap repository"
14
+ required: true
11
15
 
12
16
  env:
13
17
  NODE_VERSION: "20"
@@ -290,6 +294,16 @@ jobs:
290
294
  echo "Committing version update to main..."
291
295
  git config user.name "github-actions[bot]"
292
296
  git config user.email "github-actions[bot]@users.noreply.github.com"
297
+
298
+ # Ensure we're on main and pull latest changes before pushing
299
+ echo "Fetching latest changes from main..."
300
+ git fetch origin main
301
+ git checkout main
302
+ git pull origin main --rebase || {
303
+ echo "⚠️ Rebase failed, trying merge..."
304
+ git pull origin main --no-rebase
305
+ }
306
+
293
307
  git add package.json
294
308
  git commit -m "chore: bump version to $RELEASE_VERSION"
295
309
  git push origin main
@@ -549,7 +563,7 @@ jobs:
549
563
  run: |
550
564
  # Clone the homebrew tap repository
551
565
  if [ -z "$GIT_TOKEN" ]; then
552
- echo "❌ HOMEBREW_TAP_TOKEN secret is not set!"
566
+ echo "❌ GIT_TOKEN environment variable is not set (HOMEBREW_TAP_TOKEN secret may not be passed to reusable workflow)"
553
567
  exit 1
554
568
  fi
555
569
 
package/bun.lock CHANGED
@@ -38,7 +38,6 @@
38
38
  },
39
39
  "overrides": {
40
40
  "@solana/codecs-core": "5.1.0",
41
- "@solana/instruction-plans/@solana/codecs-core": "5.1.0",
42
41
  },
43
42
  "packages": {
44
43
  "@adraffy/ens-normalize": ["@adraffy/ens-normalize@1.11.1", "", {}, "sha512-nhCBV3quEgesuf7c7KYfperqSS14T8bYuvJ8PcLJp6znkZpFc0AuW4qBtr8eKVyPPe/8RSr7sglCWPU5eaxwKQ=="],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "httpcat-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.7-rc.2",
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": {