fix(jetbrains): address release workflow review

This commit is contained in:
kirillk
2026-05-27 12:17:49 -04:00
parent a411ba9321
commit beb8a406f0
4 changed files with 47 additions and 11 deletions
+6 -1
View File
@@ -114,7 +114,12 @@ jobs:
- name: Render release notes
working-directory: packages/kilo-jetbrains
run: ./gradlew getChangelog --project-version "$VERSION" --no-header --no-empty-sections --output-file=build/release-notes.md
run: |
if ! grep -Fq "## [$VERSION]" CHANGELOG.md; then
echo "Missing packages/kilo-jetbrains/CHANGELOG.md entry for $VERSION. Create a release PR or add the changelog section before tagging." >&2
exit 1
fi
./gradlew getChangelog --project-version "$VERSION" --no-header --no-empty-sections --output-file=build/release-notes.md
env:
VERSION: ${{ steps.version.outputs.version }}
@@ -5,6 +5,8 @@ on:
pull_request:
types:
- closed
branches:
- main
permissions:
contents: write