@bniladridas/cursor 0.1.15 → 0.1.17

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.
@@ -56,8 +56,8 @@ jobs:
56
56
  rm bottle.tar.gz
57
57
  fi
58
58
 
59
- git config user.name "${{ steps.tap-token.outputs.app-slug }}[bot]"
60
- git config user.email "${{ steps.tap-token.outputs.app-id }}+${{ steps.tap-token.outputs.app-slug }}[bot]@users.noreply.github.com"
59
+ git config user.name "brand-cursor[bot]"
60
+ git config user.email "294867837+brand-cursor[bot]@users.noreply.github.com"
61
61
  git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/palmshed/homebrew-cursor
62
62
  branch="formula-sha-${tag}"
63
63
  git checkout -b "$branch"
@@ -7,6 +7,7 @@ on:
7
7
 
8
8
  permissions:
9
9
  contents: write
10
+ pull-requests: write
10
11
  id-token: write
11
12
 
12
13
  jobs:
@@ -187,22 +188,23 @@ jobs:
187
188
  if [ -n "${BOTTLE_SHA}" ]; then
188
189
  sed -i "s|sha256 arm64_sequoia: \".*\"|sha256 arm64_sequoia: \"${BOTTLE_SHA}\"|" Formula/cursor.rb
189
190
  fi
190
- git config user.name "${{ steps.tap-token.outputs.app-slug }}[bot]"
191
- git config user.email "${{ steps.tap-token.outputs.app-id }}+${{ steps.tap-token.outputs.app-slug }}[bot]@users.noreply.github.com"
191
+ git config user.name "brand-cursor[bot]"
192
+ git config user.email "294867837+brand-cursor[bot]@users.noreply.github.com"
192
193
  git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/palmshed/homebrew-cursor
193
194
  branch="release/${GITHUB_REF_NAME}"
194
195
  git checkout -b "$branch"
195
196
  git add Formula/cursor.rb
196
197
  git commit -m "chore: update formula for ${GITHUB_REF_NAME}"
197
198
  git push origin "$branch"
198
- gh pr create \
199
+ pr_url=$(gh pr create \
199
200
  --repo palmshed/homebrew-cursor \
200
201
  --base main \
201
202
  --head "$branch" \
202
203
  --title "chore: update formula for ${GITHUB_REF_NAME}" \
203
204
  --body "Automated formula update for ${GITHUB_REF_NAME}." \
204
- --fill
205
- gh pr merge --squash --delete-branch --repo palmshed/homebrew-cursor || \
205
+ --fill)
206
+ echo "Created PR: $pr_url"
207
+ gh pr merge "$pr_url" --squash --delete-branch || \
206
208
  echo "merge failed (race or conflict), PR is open for manual merge"
207
209
 
208
210
  - name: Update package version
@@ -216,3 +218,14 @@ jobs:
216
218
  run: |
217
219
  echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
218
220
  npm publish --access public --provenance 2>&1 || echo "already published"
221
+
222
+ - name: Create version update PR
223
+ uses: peter-evans/create-pull-request@v8
224
+ with:
225
+ token: ${{ steps.app-token.outputs.token }}
226
+ base: main
227
+ branch: release/${{ github.ref_name }}
228
+ title: "chore: bump package version for ${{ github.ref_name }}"
229
+ body: "Bumps package.json version for ${{ github.ref_name }}."
230
+ add-paths: package.json
231
+ commit-message: "chore: bump package version to ${{ github.ref_name }}"
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Cursor
2
2
 
3
3
  [![CI](https://github.com/bniladridas/cursor/actions/workflows/ci.yml/badge.svg)](https://github.com/bniladridas/cursor/actions/workflows/ci.yml)
4
- [![Release](https://github.com/bniladridas/cursor/actions/workflows/release.yml/badge.svg)](https://github.com/bniladridas/cursor/actions/workflows/release.yml)
4
+ [![Release](https://img.shields.io/github/v/release/bniladridas/cursor?label=release&logo=github)](https://github.com/bniladridas/cursor/releases)
5
5
  [![npm](https://img.shields.io/npm/v/@bniladridas/cursor)](https://www.npmjs.com/package/@bniladridas/cursor)
6
6
  [![License](https://img.shields.io/badge/license-Apache%202.0-blue)](LICENSE)
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bniladridas/cursor",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "description": "Cross-platform AI coding agent",
5
5
  "bin": {
6
6
  "cursor": "cli.js"
@@ -1,4 +1,4 @@
1
- 84fd2272ff374dbb02a6f76e5f280b722daeb50363661b8cdee876db09978567 release/cursor-macos/cursor_v0.1.15_darwin_arm64.tar.gz
2
- def0dc5a0326e9a1583547607a43c4676ebbe65ef37fc3629fa1e333f27443ed release/cursor-macos/cursor-0.1.15.arm64_sequoia.bottle.tar.gz
3
- d180ad0e8851d510378faaad8c1739439419fb0e7c91896c263ed22ba3144d4f release/cursor-linux/cursor_v0.1.15_linux_amd64.tar.gz
4
- 8598ddaf4e8471a4fb003e99a2f478047135c6ad26908ce0d0998728e343ead3 release/cursor-windows/cursor__windows_amd64.zip
1
+ ba694f7cfdf0174298ffbb60993cb7e20eed5b5ded2c572a27aeb85816c8c128 release/cursor-macos/cursor-0.1.17.arm64_sequoia.bottle.tar.gz
2
+ 20c866eca00dbbfa4e637f723f6227eaf8faaf27631a1c105a13d8017ad63f05 release/cursor-macos/cursor_v0.1.17_darwin_arm64.tar.gz
3
+ cab5211287dcef9798cfc42305ac464ef7116f867bf8169fa3b3fbdd82bba11f release/cursor-linux/cursor_v0.1.17_linux_amd64.tar.gz
4
+ 0b8b72e1c8e3e3318dede6f2bec5a2423d3b4f83d68e803bebf2820b9e31f2f9 release/cursor-windows/cursor__windows_amd64.zip