Skip to content

Commit dabe887

Browse files
ryu1knclaude
andcommitted
Update release skill: postpublish must be run manually
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 47de99e commit dabe887

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

.claude/skills/release/SKILL.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: release
33
description: Cut a new release of the Partial Diff VS Code extension - guides through version bump, changelog, validation, and publish
44
---
55

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.
77

88
## Execution rules
99

@@ -16,11 +16,11 @@ Guide the user through cutting a release of the Partial Diff extension. The argu
1616

1717
- Run `git log v<current-version>..HEAD --oneline` to list commits since the last release.
1818
- 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.
2020

2121
### 2. Bump version
2222

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`.
2424

2525
### 3. Update CHANGELOG.md
2626

@@ -53,14 +53,12 @@ Guide the user through cutting a release of the Partial Diff extension. The argu
5353

5454
### 7. Commit
5555

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>`
5858

5959
### 8. Publish
6060

6161
- 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.
64+
- Push the release commit: `git push origin main`

0 commit comments

Comments
 (0)