From 2c210ac07b702921f2dfe0bb972c8cf53f9aefdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wytr=C4=99bowicz?= Date: Tue, 18 Jul 2023 12:27:03 +0200 Subject: [PATCH] Add a release step to trim changelog in the readme.txt Addresses https://github.com/woocommerce/woocommerce-google-analytics-integration/pull/285#discussion_r1266149285 --- .github/workflows/prepare-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index cc3a2ac6..7651669e 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -37,3 +37,5 @@ jobs: wp-version: ${{ github.event.inputs.wp-version }} wc-version: ${{ github.event.inputs.wc-version }} main-branch: 'trunk' + pre-steps: | + 1. [ ] Remove older changelog entries from `readme.txt` (keep the last two versions, since we will be adding a third during the release), commit changes.