diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 93b9596767..6177a6d248 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -58,7 +58,7 @@ jobs: id: release_body run: | if [ -f CHANGELOG.md ]; then - body="$(awk '{printf "%s\\n", $0}' CHANGELOG.md | sed 's/"/\\"/g')" + body="$(head -n 1000 CHANGELOG.md | awk '{printf "%s\\n", $0}' | sed 's/"/\\"/g')" echo "body=${body}" >> $GITHUB_OUTPUT else echo "body=No changelog provided for this release." >> $GITHUB_OUTPUT diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7f9d9e12d6..e8c3a5f066 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,7 +35,7 @@ jobs: run: sudo apt-get install -y protobuf-compiler - name: Install dependencies - run: pnpm install + run: pnpm install --no-frozen-lockfile - name: Build packages run: pnpm run build