]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Manually link authors only in docs/changelog.md 1301/head
authorQuinn Casey <quinn@quinncasey.com>
Wed, 17 Aug 2022 15:30:40 +0000 (08:30 -0700)
committerQuinn Casey <quinn@quinncasey.com>
Wed, 17 Aug 2022 15:30:40 +0000 (08:30 -0700)
.github/release-drafter.yml
.github/workflows/ci.yml

index f16f71d55655c3e67c4297ad39202ff9c64c4316..a23fc71655e8e2d5ab1181b668819bcd6bb49b7d 100644 (file)
@@ -35,11 +35,8 @@ include-labels:
   - 'frontend'
   - 'backend'
   - 'ci-cd'
-replacers: # Changes "Feature: Update checker" to "Update checker"
-  - search: '/Feature:?|Feat:?|\[feature\]/gi'
-    replace: ''
 category-template: '### $TITLE'
-change-template: '- $TITLE [@$AUTHOR](https://github.com/$AUTHOR) ([#$NUMBER]($URL))'
+change-template: '- $TITLE @$AUTHOR ([#$NUMBER]($URL))'
 change-title-escapes: '\<*_&#@'
 template: |
   ## paperless-ngx $RESOLVED_VERSION
index d7f57cde5aa9b927e464270fad685f2001dcb8ba..cf86d0c8259a9f5a96bb927934eb28857abe907d 100644 (file)
@@ -372,6 +372,8 @@ jobs:
           git branch ${{ needs.publish-release.outputs.version }}-changelog
           git checkout ${{ needs.publish-release.outputs.version }}-changelog
           echo -e "# Changelog\n\n${{ needs.publish-release.outputs.changelog }}\n" > changelog-new.md
+          echo "Manually linking usernames"
+          sed -i -r 's|@(.+?) \(\[#|[@\1](https://github.com/\1) ([#|ig' changelog-new.md
           CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
           echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
           mv changelog-new.md changelog.md