diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index fa3fa296d..e45a83164 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -19,24 +19,34 @@ jobs: echo "No changes to package.json" exit 1 } - + - name: Get version number from package.json id: get_version run: | VERSION=$(jq -r '.version' package.json) echo "::set-output name=version::$VERSION" + - name: Extract latest CHANGELOG entry + id: changelog + run: | + CHANGELOG_CONTENT=$(awk '/^## \[/{n++} n==1' CHANGELOG.md) + echo "CHANGELOG_CONTENT<