From 49920ce0935871bb5cb1672f74bb925eb5f0ea20 Mon Sep 17 00:00:00 2001 From: koenkk Date: Tue, 1 Aug 2023 20:15:01 +0200 Subject: [PATCH] chore: use .md extension for changelog --- .github/workflows/release_please.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_please.yml b/.github/workflows/release_please.yml index 5bfcd05a55..691c421aa6 100644 --- a/.github/workflows/release_please.yml +++ b/.github/workflows/release_please.yml @@ -56,19 +56,19 @@ jobs: wget -q -O - https://raw.githubusercontent.com/Koenkk/zigbee2mqtt/release-please--branches--dev--components--release-please-action/CHANGELOG.md > z2m/CHANGELOG.md || true cd z2m npm ci - node scripts/generateChangelog.js $MASTER_Z2M_VERSION $MASTER_ZHC_VERSION $MASTER_ZH_VERSION >> ../changelog.txt + node scripts/generateChangelog.js $MASTER_Z2M_VERSION $MASTER_ZHC_VERSION $MASTER_ZH_VERSION >> ../changelog.md env: GH_TOKEN: ${{secrets.GH_TOKEN}} - name: Update changelog in release PR run: | - gh gist edit bfd4c3d1725a2cccacc11d6ba51008ba -a changelog.txt + gh gist edit bfd4c3d1725a2cccacc11d6ba51008ba -a changelog.md env: GH_TOKEN: ${{secrets.GH_TOKEN}} - name: Upload changelog uses: actions/upload-artifact@v3 with: name: changelog - path: changelog.txt + path: changelog.md - name: Save cache commit-user-lookup.json uses: actions/cache/save@v3 if: always() @@ -93,7 +93,7 @@ jobs: - uses: ncipollo/release-action@v1 name: Create release with: - bodyFile: ../changelog/changelog.txt + bodyFile: ../changelog/changelog.md draft: true name: ${{ needs.release-please.outputs.version }} tag: ${{ needs.release-please.outputs.version }}