diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index d87783305..19c2c767e 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -43,17 +43,18 @@ jobs: /bin/bash -c ". ./beaglebone-envsetup.sh && bitbake yoe-sdk-image" /bin/bash -c ". ./raspberrypi4-64-envsetup.sh && bitbake yoe-sdk-image" - name: version - run: echo "::set-output name=version::$(cat sources/meta-yoe/conf/distro/yoe.inc | grep 'DISTRO_VERSION =' | cut -d' ' -f 3)" + run: echo "::set-output name=version::$(printf ' - ' && cat sources/meta-yoe/conf/distro/yoe.inc | grep 'DISTRO_CODENAME =' | cut -d' ' -f 3 )" id: version - name: release uses: actions/create-release@v1 + uses: CSchoel/release-notes-from-changelog@v1 id: create_release with: - draft: false + draft: true prerelease: false - release_name: ${{ steps.version.outputs.version }} + release_name: ${{ github.ref }} ${{ steps.version.outputs.version }} tag_name: ${{ github.ref }} - body_path: CHANGELOG.md + body_path: RELEASE.md # generated by release-notes-from-changelog env: GITHUB_TOKEN: ${{ github.token }} diff --git a/RELEASE_HEAD.md b/RELEASE_HEAD.md new file mode 100644 index 000000000..22f430cfd --- /dev/null +++ b/RELEASE_HEAD.md @@ -0,0 +1,5 @@ +# release-notes-from-changelog + +GitHub action that extracts release notes from an existing changelog. + +Changes in this version: