Fix Release Drafter replacer (#7348)

This commit is contained in:
jonpas 2020-01-02 05:13:29 +01:00 committed by GitHub
parent b2731d79d2
commit 70a315d80e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
branches:
- release-drafter # for testing edits to this configuration
name-template: 'Version $NEXT_PATCH_VERSION'
tag-template: 'v$NEXT_PATCH_VERSION'
@ -29,5 +32,5 @@ template: |
replacers:
# Category titles
- search: '\#\# (\*\*(ADDED|FIXED|CHANGED):\*\*)'
- search: '/\#\# (\*\*(ADDED|FIXED|CHANGED):\*\*)/g'
replace: '$1'

View File

@ -6,7 +6,7 @@ on:
- master
jobs:
update_release_draft:
draft:
runs-on: ubuntu-latest
steps:
- name: Release Drafter