Skip to content

Commit 2996230

Browse files
committed
Bump version to 2026.1031.311 and update GitHub release workflow to generate custom release notes
- 'what changed' and 'new contributors' seems incorrect. for two subsequent releases - editor versions 2026.1031.310 and 2026.1031.309, we see the same pull requests. we'd like to see commits that arrived for changes in apps/editor since last tag/release ├── .github │ └── workflows │ └── github-release.yml └── apps ├── browser │ ├── package.json │ └── src │ └── manifest.json └── editor └── package.json
1 parent 68daa56 commit 2996230

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

‎.github/workflows/github-release.yml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
2123

2224
- name: Get version from package.json
2325
id: package_version
@@ -58,12 +60,26 @@ jobs:
5860
cd apps/editor
5961
pnpm build
6062
63+
- name: Generate Release Notes
64+
if: steps.check_tag.outputs.exists == 'false'
65+
run: |
66+
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
67+
68+
echo "### What's Changed in apps/editor" > release_notes.md
69+
echo "" >> release_notes.md
70+
71+
if [ -n "$PREV_TAG" ]; then
72+
git log ${PREV_TAG}..HEAD --pretty=format:"* %s (%h)" -- apps/editor >> release_notes.md
73+
else
74+
git log --pretty=format:"* %s (%h)" -- apps/editor >> release_notes.md
75+
fi
76+
6177
- name: Create Release and Upload VSIX
6278
if: steps.check_tag.outputs.exists == 'false'
6379
uses: softprops/action-gh-release@v2
6480
with:
6581
tag_name: ${{ steps.package_version.outputs.version }}
6682
name: Release ${{ steps.package_version.outputs.version }}
67-
generate_release_notes: true
83+
body_path: release_notes.md
6884
# Grab the compiled .vsix generated by 'vsce package'
6985
files: apps/editor/*.vsix

‎apps/editor/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gemini-coder",
33
"displayName": "Code Web Chat",
44
"description": "CWC makes AI coding blazing fast!",
5-
"version": "2026.1031.310",
5+
"version": "2026.1031.311",
66
"scripts": {
77
"build": "npx vsce package --no-dependencies",
88
"vscode:prepublish": "rimraf out && npm run compile",

0 commit comments

Comments
 (0)