You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/release/SKILL.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ name: release
3
3
description: Cut a new release of the Partial Diff VS Code extension - guides through version bump, changelog, validation, and publish
4
4
---
5
5
6
-
Guide the user through cutting a release of the Partial Diff extension. The argument, if given, is the new version number (e.g. `1.4.4`). If omitted, ask the user.
6
+
Guide the user through cutting a release of the Partial Diff extension. The argument, if given, is the bump level (`major`, `minor`, or `patch`). If omitted, ask the user.
7
7
8
8
## Execution rules
9
9
@@ -16,11 +16,11 @@ Guide the user through cutting a release of the Partial Diff extension. The argu
16
16
17
17
- Run `git log v<current-version>..HEAD --oneline` to list commits since the last release.
18
18
- Summarise the user-facing changes (skip purely internal/CI/tooling commits unless they affect the shipped package).
19
-
- Confirm the new version number with the user.
19
+
- Confirm the bump level (major/minor/patch) with the user.
20
20
21
21
### 2. Bump version
22
22
23
-
-Update `version` in`package.json` and `package-lock.json`.
23
+
-Run `npm version <major|minor|patch> --no-git-tag-version`. This updates both`package.json` and `package-lock.json`.
24
24
25
25
### 3. Update CHANGELOG.md
26
26
@@ -53,14 +53,12 @@ Guide the user through cutting a release of the Partial Diff extension. The argu
53
53
54
54
### 7. Commit
55
55
56
-
- Stage `package.json` and `CHANGELOG.md`.
57
-
- Commit with message: `Release v<version>`
56
+
- Stage `package.json`, `package-lock.json`, and `CHANGELOG.md`.
57
+
- Commit with message: `Bump up version to v<version>`
58
58
59
59
### 8. Publish
60
60
61
61
- Remind the user they need a Personal Access Token for the VS Code Marketplace if they haven't set one up.
62
-
- Run `npx @vscode/vsce publish` — this triggers:
63
-
-`vscode:prepublish` (production build)
64
-
- Upload to VS Code Marketplace
65
-
-`vscode:postpublish` → `tag-release.sh` (creates and pushes git tag `v<version>`)
66
-
- After publish completes, push the release commit: `git push origin main`
62
+
- Run `npx @vscode/vsce publish` — this triggers `vscode:prepublish` (production build) and uploads to the VS Code Marketplace.
63
+
- Run `npm run vscode:postpublish` to create and push the git tag. Note: `vsce publish` does NOT run `postpublish` automatically.
0 commit comments