httpcat-cli 0.1.0 → 0.1.1-rc.1
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.
package/.github/dependabot.yml
CHANGED
|
@@ -3,6 +3,7 @@ updates:
|
|
|
3
3
|
# Enable version updates for npm
|
|
4
4
|
- package-ecosystem: "npm"
|
|
5
5
|
directory: "/"
|
|
6
|
+
target-branch: "develop"
|
|
6
7
|
schedule:
|
|
7
8
|
interval: "weekly"
|
|
8
9
|
open-pull-requests-limit: 5
|
|
@@ -16,6 +17,7 @@ updates:
|
|
|
16
17
|
# Enable version updates for GitHub Actions
|
|
17
18
|
- package-ecosystem: "github-actions"
|
|
18
19
|
directory: "/"
|
|
20
|
+
target-branch: "develop"
|
|
19
21
|
schedule:
|
|
20
22
|
interval: "weekly"
|
|
21
23
|
labels:
|
|
@@ -454,10 +454,12 @@ jobs:
|
|
|
454
454
|
runs-on: ubuntu-latest
|
|
455
455
|
needs: [prepare, publish-npm]
|
|
456
456
|
steps:
|
|
457
|
-
- name: Checkout
|
|
457
|
+
- name: Checkout homebrew tap
|
|
458
458
|
uses: actions/checkout@v6
|
|
459
459
|
with:
|
|
460
|
+
repository: hathbanger/homebrew-httpcat
|
|
460
461
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
462
|
+
path: homebrew-tap
|
|
461
463
|
|
|
462
464
|
- name: Wait for npm CDN propagation
|
|
463
465
|
run: |
|
|
@@ -488,7 +490,7 @@ jobs:
|
|
|
488
490
|
run: |
|
|
489
491
|
VERSION="${{ needs.prepare.outputs.version }}"
|
|
490
492
|
SHA256="${{ steps.npm-sha.outputs.sha256 }}"
|
|
491
|
-
FORMULA_FILE="homebrew-
|
|
493
|
+
FORMULA_FILE="homebrew-tap/Formula/httpcat.rb"
|
|
492
494
|
|
|
493
495
|
# Update version
|
|
494
496
|
sed -i.bak "s|url \".*httpcat-cli-.*\.tgz\"|url \"https://registry.npmjs.org/httpcat-cli/-/httpcat-cli-${VERSION}.tgz\"|" "$FORMULA_FILE"
|
|
@@ -506,10 +508,11 @@ jobs:
|
|
|
506
508
|
|
|
507
509
|
- name: Commit and push Homebrew formula update
|
|
508
510
|
run: |
|
|
511
|
+
cd homebrew-tap
|
|
509
512
|
git config user.name "github-actions[bot]"
|
|
510
513
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
511
|
-
git add
|
|
512
|
-
git commit -m "
|
|
514
|
+
git add Formula/httpcat.rb
|
|
515
|
+
git commit -m "Update httpcat to ${{ needs.prepare.outputs.version }}" || exit 0
|
|
513
516
|
git push
|
|
514
517
|
|
|
515
518
|
# Job 5: Create GitHub Release
|