mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Manually link authors only in docs/changelog.md
This commit is contained in:
parent
18a2a41682
commit
a4c4b81297
5
.github/release-drafter.yml
vendored
5
.github/release-drafter.yml
vendored
@ -35,11 +35,8 @@ include-labels:
|
|||||||
- 'frontend'
|
- 'frontend'
|
||||||
- 'backend'
|
- 'backend'
|
||||||
- 'ci-cd'
|
- 'ci-cd'
|
||||||
replacers: # Changes "Feature: Update checker" to "Update checker"
|
|
||||||
- search: '/Feature:?|Feat:?|\[feature\]/gi'
|
|
||||||
replace: ''
|
|
||||||
category-template: '### $TITLE'
|
category-template: '### $TITLE'
|
||||||
change-template: '- $TITLE [@$AUTHOR](https://github.com/$AUTHOR) ([#$NUMBER]($URL))'
|
change-template: '- $TITLE @$AUTHOR ([#$NUMBER]($URL))'
|
||||||
change-title-escapes: '\<*_&#@'
|
change-title-escapes: '\<*_&#@'
|
||||||
template: |
|
template: |
|
||||||
## paperless-ngx $RESOLVED_VERSION
|
## paperless-ngx $RESOLVED_VERSION
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -372,6 +372,8 @@ jobs:
|
|||||||
git branch ${{ needs.publish-release.outputs.version }}-changelog
|
git branch ${{ needs.publish-release.outputs.version }}-changelog
|
||||||
git checkout ${{ 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 -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`
|
CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
|
||||||
echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
|
echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
|
||||||
mv changelog-new.md changelog.md
|
mv changelog-new.md changelog.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user