Skip to content

Commit 2324e25

Browse files
committed
Fix pre-release badge to show marketplace version
1 parent 28ef3f1 commit 2324e25

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/skills/toolkit-release/SKILL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ Release a new beta to the VS Code Marketplace as a pre-release.
4343
2. Ask the user for the target Dev Proxy version (e.g., "v2.2.0"). They know which Dev Proxy release this beta targets.
4444
3. Push: `git push origin main` (confirm with user first)
4545
4. Generate release notes from git log since last beta/release tag — see [release-notes-template.md](references/release-notes-template.md)
46-
5. Create GitHub release:
46+
5. Update `README.md` Pre-release badge version to match the version being released (e.g., `Pre--release-v1.13.0`). The badge is on line 4, uses shields.io format with double dash for hyphenated words. This reflects what's published to the marketplace.
47+
6. Create GitHub release:
4748
- Tag: `vX.Y.Z-beta` (e.g., `v1.13.0-beta` for first beta, `v1.13.2-beta` for subsequent)
4849
- Title: `vX.Y.Z-beta`
4950
- Mark as **pre-release**
5051
- Body: generated release notes
5152
- **Important**: Write release notes to a temp file and use `gh release create --notes-file <file>`. Do NOT use inline `--notes` — multi-line content gets garbled by the terminal.
52-
6. Create or move `devproxy-vX.Y.Z` tag to this commit:
53+
7. Create or move `devproxy-vX.Y.Z` tag to this commit:
5354
- First beta in cycle: `git tag -m "Dev Proxy vX.Y.Z" devproxy-vX.Y.Z && git push origin devproxy-vX.Y.Z`
5455
- Subsequent beta: `git tag -f -m "Dev Proxy vX.Y.Z" devproxy-vX.Y.Z && git push origin devproxy-vX.Y.Z --force`
55-
7. Bump version for next beta: `npm version patch --no-git-tag-version` (e.g., 1.13.0 → 1.13.1)
56-
8. Update `CHANGELOG.md`: change the unreleased section header version to match the new version (e.g., `## [1.13.0] - Unreleased``## [1.13.1] - Unreleased`)
57-
9. Update `README.md` Pre-release badge version to match the new version (e.g., `Pre--release-v1.13.1`). The badge is on line 4, uses shields.io format with double dash for hyphenated words.
56+
8. Bump version for next beta: `npm version patch --no-git-tag-version` (e.g., 1.13.0 → 1.13.1)
57+
9. Update `CHANGELOG.md`: change the unreleased section header version to match the new version (e.g., `## [1.13.0] - Unreleased``## [1.13.1] - Unreleased`)
5858
10. Commit: `git add package.json package-lock.json CHANGELOG.md README.md && git commit -m "Increment version to vX.Y.Z"`
5959
11. Push: `git push origin main` (confirm with user first)
6060
12. Clean up any temp files created during the workflow (e.g., release notes temp file)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Dev Proxy Toolkit
22

33
<!-- Update version badges when releasing: Stable = last published release, Pre-release = current manifest version -->
4-
[![Stable Version](https://img.shields.io/badge/Stable-v1.16.0-007ACC)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit) [![Pre-release Version](https://img.shields.io/badge/Pre--release-v1.17.2-24bfa5)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit) [![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/garrytrinder.dev-proxy-toolkit?label=Installs)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit)
4+
[![Stable Version](https://img.shields.io/badge/Stable-v1.16.0-007ACC)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit) [![Pre-release Version](https://img.shields.io/badge/Pre--release-v1.17.1-24bfa5)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit) [![Visual Studio Marketplace Installs](https://img.shields.io/visual-studio-marketplace/i/garrytrinder.dev-proxy-toolkit?label=Installs)](https://marketplace.visualstudio.com/items?itemName=garrytrinder.dev-proxy-toolkit)
55

66
[![Install Stable](https://img.shields.io/badge/VS%20Code-Install_Stable-007ACC?logo=visualstudiocode)](vscode:extension/garrytrinder.dev-proxy-toolkit) [![Install Pre-release](https://img.shields.io/badge/VS%20Code%20Insiders-Install_Pre--release-24bfa5?logo=visualstudiocode)](vscode-insiders:extension/garrytrinder.dev-proxy-toolkit)
77

0 commit comments

Comments
 (0)