From cb84dd8ac32c06cc8b59789afeae408fcb31f428 Mon Sep 17 00:00:00 2001 From: vados Date: Fri, 8 Dec 2023 14:23:44 +0900 Subject: [PATCH] fix(ci): add git-cliff, generate changelog Signed-off-by: vados --- .github/workflows/prep-release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prep-release.yaml b/.github/workflows/prep-release.yaml index fe82b06..64b2f61 100644 --- a/.github/workflows/prep-release.yaml +++ b/.github/workflows/prep-release.yaml @@ -37,7 +37,7 @@ jobs: - name: Install cargo-release uses: taiki-e/install-action@v1 with: - tool: cargo-release,just,cargo-get,cargo-pgrx + tool: cargo-release,just,cargo-get,cargo-pgrx,git-cliff # Initialize PGRX - name: Initialize cargo-pgrx @@ -51,8 +51,9 @@ jobs: VERSION: ${{inputs.version}} run: | echo value=$(just print-version) >> $GITHUB_OUTPUT - - # TODO: We should update the CHANGELOG to the new version + - name: Generate changelog + run: | + just changelog # Create PR for release - uses: cargo-bins/release-pr@v2