mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
fix release notes
This commit is contained in:
parent
0218de3b34
commit
1de35b92d5
43
.github/release-drafter.yml
vendored
43
.github/release-drafter.yml
vendored
|
@ -1,5 +1,6 @@
|
|||
name-template: '$RESOLVED_VERSION'
|
||||
tag-template: '$RESOLVED_VERSION'
|
||||
tag-prefix: ""
|
||||
categories:
|
||||
- title: '🚀 Features'
|
||||
labels:
|
||||
|
@ -10,8 +11,10 @@ categories:
|
|||
- 'fix'
|
||||
- 'bugfix'
|
||||
- 'bug'
|
||||
- title: '🧰 Maintenance'
|
||||
label: 'chore'
|
||||
- title: '📚 Documentation'
|
||||
label: 'documentation'
|
||||
- title: '🔒 Security'
|
||||
label: 'security'
|
||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||
template: |
|
||||
## Changes
|
||||
|
@ -20,4 +23,38 @@ template: |
|
|||
|
||||
## Contributors
|
||||
|
||||
$CONTRIBUTORS
|
||||
$CONTRIBUTORS
|
||||
|
||||
change-title-escapes: '\<*_&"'''
|
||||
autolabeler:
|
||||
- label: 'documentation'
|
||||
files:
|
||||
- '*.md'
|
||||
branch:
|
||||
- '/docs{0,1}\/.+/'
|
||||
- label: 'bug'
|
||||
branch:
|
||||
- '/fix\/.+/'
|
||||
title:
|
||||
- '/fix/i'
|
||||
- label: 'enhancement'
|
||||
branch:
|
||||
- '/feature\/.+/'
|
||||
body:
|
||||
- '/[A-Z]+-[0-9]+/'
|
||||
- label: 'documentation'
|
||||
files:
|
||||
- '**/*.md'
|
||||
- 'docs/**/*'
|
||||
- label: 'security'
|
||||
branch:
|
||||
- '/security\/.+/'
|
||||
replacers:
|
||||
- search: /"/g
|
||||
replace: ''
|
||||
- search: /'/g
|
||||
replace: ''
|
||||
- search: /`/g
|
||||
replace: ''
|
||||
exclude-labels:
|
||||
- 'skip-changelog'
|
11
.github/workflows/pre-release.yaml
vendored
11
.github/workflows/pre-release.yaml
vendored
|
@ -33,15 +33,6 @@ jobs:
|
|||
with:
|
||||
config-name: release-drafter.yml
|
||||
version: ${{ env.version }}
|
||||
version-template: '$YEAR.$MONTH.$DAY'
|
||||
|
||||
- name: Prepare Release Body
|
||||
id: prepare_body
|
||||
run: |
|
||||
new_changes="${{ steps.generate_notes.outputs.body }}"
|
||||
echo "body<<EOF" >> $GITHUB_OUTPUT
|
||||
echo "$new_changes" >> $GITHUB_OUTPUT
|
||||
echo "EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create and Upload Release
|
||||
id: create_release
|
||||
|
@ -50,7 +41,7 @@ jobs:
|
|||
tag_name: ${{ env.version }}
|
||||
name: Pre-Release ${{ env.version }}
|
||||
body: |
|
||||
${{ steps.prepare_body.outputs.body }}
|
||||
${{ steps.generate_notes.outputs.body }}
|
||||
|
||||
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil)
|
||||
append_body: false
|
||||
|
|
Loading…
Reference in New Issue
Block a user