mirror of
https://github.com/Horizontal42/summarum.git
synced 2026-11-10 19:11:58 +03:00
strip leading emoji from release-note lines
This commit is contained in:
parent
826e041593
commit
28a2dd86ca
1 changed files with 5 additions and 1 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -97,7 +97,11 @@ jobs:
|
||||||
# or package-lock.json with X) are internal bookkeeping, not
|
# or package-lock.json with X) are internal bookkeeping, not
|
||||||
# user-facing changes — never worth a changelog line.
|
# user-facing changes — never worth a changelog line.
|
||||||
noise='^- (bump( cargo)? version to|update tauri\.conf version to|sync (Cargo\.lock|package-lock\.json) with) [0-9]+\.[0-9]+\.[0-9]+$'
|
noise='^- (bump( cargo)? version to|update tauri\.conf version to|sync (Cargo\.lock|package-lock\.json) with) [0-9]+\.[0-9]+\.[0-9]+$'
|
||||||
filter() { grep -vE "$noise" | sed -E 's/ \(#[0-9]+\)$//'; }
|
filter() {
|
||||||
|
grep -vE "$noise" \
|
||||||
|
| sed -E 's/ \(#[0-9]+\)$//' \
|
||||||
|
| perl -CSD -pe 's/^- \p{Emoji_Presentation}\x{FE0F}?\s*/- /'
|
||||||
|
}
|
||||||
{
|
{
|
||||||
echo "## What's new"
|
echo "## What's new"
|
||||||
if [ -n "$prev" ]; then
|
if [ -n "$prev" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue