mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Fix changelog generation (#3859)
This commit is contained in:
parent
45e22637b5
commit
22431f06f4
4 changed files with 6 additions and 23 deletions
|
|
@ -1,5 +1,3 @@
|
|||
// Half-works to simplify the format but needs 'overwrite_changeset_changelog.py' in GHA to finish formatting
|
||||
|
||||
const getReleaseLine = async (changeset) => {
|
||||
const [firstLine] = changeset.summary
|
||||
.split("\n")
|
||||
|
|
|
|||
5
.changeset/little-pillows-type.md
Normal file
5
.changeset/little-pillows-type.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Fix changeset (again)
|
||||
19
.github/workflows/changeset-release.yml
vendored
19
.github/workflows/changeset-release.yml
vendored
|
|
@ -100,25 +100,6 @@ jobs:
|
|||
fetch-depth: 0
|
||||
ref: ${{ steps.checkout-ref.outputs.git_ref }}
|
||||
|
||||
# Get current and previous versions to edit changelog entry
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: |
|
||||
VERSION=$(git show HEAD:package.json | jq -r '.version')
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
PREV_VERSION=$(git show origin/main:package.json | jq -r '.version')
|
||||
echo "prev_version=$PREV_VERSION" >> $GITHUB_OUTPUT
|
||||
echo "version=$VERSION"
|
||||
echo "prev_version=$PREV_VERSION"
|
||||
|
||||
# Update CHANGELOG.md with proper format
|
||||
- name: Update Changelog Format
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}
|
||||
env:
|
||||
VERSION: ${{ steps.get_version.outputs.version }}
|
||||
PREV_VERSION: ${{ steps.get_version.outputs.prev_version }}
|
||||
run: python .github/scripts/overwrite_changeset_changelog.py
|
||||
|
||||
# Commit and push changelog updates
|
||||
- name: Push Changelog updates
|
||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'changelog-ready') }}
|
||||
|
|
|
|||
|
|
@ -14,8 +14,7 @@
|
|||
"clean": "turbo clean --log-order grouped --output-logs new-only && rimraf dist out bin .vite-port .turbo",
|
||||
"build": "pnpm --filter roo-cline vsix",
|
||||
"build:nightly": "pnpm --filter @roo-code/vscode-nightly vsix",
|
||||
"publish": "pnpm build && changeset publish && pnpm install --frozen-lockfile",
|
||||
"changeset:version": "changeset version && pnpm install --frozen-lockfile",
|
||||
"changeset:version": "cp CHANGELOG.md src/CHANGELOG.md && changeset version && cp -vf src/CHANGELOG.md .",
|
||||
"knip": "pnpm --filter @roo-code/build build && knip --include files",
|
||||
"update-contributors": "node scripts/update-contributors.js"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue