Skip to content

Commit 22431f0

Browse files
authored
Fix changelog generation (#3859)
1 parent 45e2263 commit 22431f0

File tree

4 files changed

+6
-23
lines changed

4 files changed

+6
-23
lines changed

.changeset/changelog-config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Half-works to simplify the format but needs 'overwrite_changeset_changelog.py' in GHA to finish formatting
2-
31
const getReleaseLine = async (changeset) => {
42
const [firstLine] = changeset.summary
53
.split("\n")

.changeset/little-pillows-type.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Fix changeset (again)

.github/workflows/changeset-release.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -100,25 +100,6 @@ jobs:
100100
fetch-depth: 0
101101
ref: ${{ steps.checkout-ref.outputs.git_ref }}
102102

103-
# Get current and previous versions to edit changelog entry
104-
- name: Get version
105-
id: get_version
106-
run: |
107-
VERSION=$(git show HEAD:package.json | jq -r '.version')
108-
echo "version=$VERSION" >> $GITHUB_OUTPUT
109-
PREV_VERSION=$(git show origin/main:package.json | jq -r '.version')
110-
echo "prev_version=$PREV_VERSION" >> $GITHUB_OUTPUT
111-
echo "version=$VERSION"
112-
echo "prev_version=$PREV_VERSION"
113-
114-
# Update CHANGELOG.md with proper format
115-
- name: Update Changelog Format
116-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}
117-
env:
118-
VERSION: ${{ steps.get_version.outputs.version }}
119-
PREV_VERSION: ${{ steps.get_version.outputs.prev_version }}
120-
run: python .github/scripts/overwrite_changeset_changelog.py
121-
122103
# Commit and push changelog updates
123104
- name: Push Changelog updates
124105
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"clean": "turbo clean --log-order grouped --output-logs new-only && rimraf dist out bin .vite-port .turbo",
1515
"build": "pnpm --filter roo-cline vsix",
1616
"build:nightly": "pnpm --filter @roo-code/vscode-nightly vsix",
17-
"publish": "pnpm build && changeset publish && pnpm install --frozen-lockfile",
18-
"changeset:version": "changeset version && pnpm install --frozen-lockfile",
17+
"changeset:version": "cp CHANGELOG.md src/CHANGELOG.md && changeset version && cp -vf src/CHANGELOG.md .",
1918
"knip": "pnpm --filter @roo-code/build build && knip --include files",
2019
"update-contributors": "node scripts/update-contributors.js"
2120
},

0 commit comments

Comments
 (0)