@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.
- package/.github/workflows/formula-sha.yml +2 -2
- package/.github/workflows/release.yml +18 -5
- package/README.md +1 -1
- package/package.json +1 -1
- package/release/checksums.txt +4 -4
- package/release/cursor-linux/cursor_v0.1.17_linux_amd64.tar.gz +0 -0
- package/release/cursor-macos/cursor-0.1.17.arm64_sequoia.bottle.tar.gz +0 -0
- package/release/cursor-macos/cursor_v0.1.17_darwin_arm64.tar.gz +0 -0
- package/release/cursor-windows/cursor__windows_amd64.zip +0 -0
- package/release/cursor-linux/cursor_v0.1.15_linux_amd64.tar.gz +0 -0
- package/release/cursor-macos/cursor-0.1.15.arm64_sequoia.bottle.tar.gz +0 -0
- package/release/cursor-macos/cursor_v0.1.15_darwin_arm64.tar.gz +0 -0
|
@@ -56,8 +56,8 @@ jobs:
|
|
|
56
56
|
rm bottle.tar.gz
|
|
57
57
|
fi
|
|
58
58
|
|
|
59
|
-
git config user.name "
|
|
60
|
-
git config user.email "
|
|
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 "
|
|
191
|
-
git config user.email "
|
|
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
|
-
|
|
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
|
[](https://github.com/bniladridas/cursor/actions/workflows/ci.yml)
|
|
4
|
-
[](https://github.com/bniladridas/cursor/releases)
|
|
5
5
|
[](https://www.npmjs.com/package/@bniladridas/cursor)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
package/package.json
CHANGED
package/release/checksums.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|