Skip to content

Commit 9b1b484

Browse files
committed
update changelogs and how releases are processed
1 parent 3f1a9d8 commit 9b1b484

3 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/trunk-release-tag.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Create release
44
on:
55
push:
66
tags:
7-
- 'v*'
7+
- '*'
88

99
jobs:
1010
build:
@@ -52,6 +52,11 @@ jobs:
5252
working-directory: ./
5353
run: zip string-locator string-locator
5454

55+
- name: Get changelog entries
56+
id: changelog
57+
working-directory: ./docs
58+
run: echo '::set-output name=changes::{grep -A100 -m1 -e '== Changelog ==' readme.txt}'
59+
5560
- name: Create release
5661
id: create_release
5762
uses: actions/create-release@v1
@@ -61,6 +66,7 @@ jobs:
6166
tag_name: ${{ github.ref }}
6267
release_name: Release ${{ github.ref }}
6368
draft: true
69+
body: ${{ steps.changelog.outputs.changes }}
6470
prerelease: false
6571

6672
- name: Upload release build

docs/changelog.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
= 2.4.1 =
2+
* Fixed case-sensitive class call, apparently not all PHP versions are equal in how this is treated.
3+
4+
= 2.4.0 =
5+
* Updated the editor screen, to a design which more closely adheres to the WordPress editor styles.
6+
* Added support for searching files, even if you are not able to edit them.
7+
* Added support for jumping to not just line number, but also location inside that line.
8+
* Added alternative to disable loopback checks when saving changes.
9+
* Improved performance by using transients instead of option entries (lower memory usage overall).
10+
* Improved handling of errors with links to some documentation when available.
11+
* Improved the amount of details about the current file that are shown in the editor.
12+
* Fixed the search results table to look like a normal table when restoring a search.
13+
114
= 2.3.1 =
215
This is a maintenance and security release, with thanks to [RIPS Technologies](https://www.ripstech.com) for the responsible disclosure of several security concerns.
316

docs/readme.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,5 @@ When writing your search string, make sure to wrap your search in forward slashe
5050
* Fixed respecting text capitalization in previews when doing a non-regex search.
5151
* Changed capability checks, now works on hosts that maintain updates for their users.
5252

53-
= 2.4.1 =
54-
* Fixed case-sensitive class call, apparently not all PHP versions are equal in how this is treated.
55-
56-
= 2.4.0 =
57-
* Updated the editor screen, to a design which more closely adheres to the WordPress editor styles.
58-
* Added support for searching files, even if you are not able to edit them.
59-
* Added support for jumping to not just line number, but also location inside that line.
60-
* Added alternative to disable loopback checks when saving changes.
61-
* Improved performance by using transients instead of option entries (lower memory usage overall).
62-
* Improved handling of errors with links to some documentation when available.
63-
* Improved the amount of details about the current file that are shown in the editor.
64-
* Fixed the search results table to look like a normal table when restoring a search.
65-
6653
= Older entries =
6754
See changelog.txt for the version history

0 commit comments

Comments
 (0)