mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
fix release notes
This commit is contained in:
parent
0218de3b34
commit
1de35b92d5
41
.github/release-drafter.yml
vendored
41
.github/release-drafter.yml
vendored
|
@ -1,5 +1,6 @@
|
||||||
name-template: '$RESOLVED_VERSION'
|
name-template: '$RESOLVED_VERSION'
|
||||||
tag-template: '$RESOLVED_VERSION'
|
tag-template: '$RESOLVED_VERSION'
|
||||||
|
tag-prefix: ""
|
||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: '🚀 Features'
|
||||||
labels:
|
labels:
|
||||||
|
@ -10,8 +11,10 @@ categories:
|
||||||
- 'fix'
|
- 'fix'
|
||||||
- 'bugfix'
|
- 'bugfix'
|
||||||
- 'bug'
|
- 'bug'
|
||||||
- title: '🧰 Maintenance'
|
- title: '📚 Documentation'
|
||||||
label: 'chore'
|
label: 'documentation'
|
||||||
|
- title: '🔒 Security'
|
||||||
|
label: 'security'
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
||||||
template: |
|
template: |
|
||||||
## Changes
|
## Changes
|
||||||
|
@ -21,3 +24,37 @@ template: |
|
||||||
## Contributors
|
## 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:
|
with:
|
||||||
config-name: release-drafter.yml
|
config-name: release-drafter.yml
|
||||||
version: ${{ env.version }}
|
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
|
- name: Create and Upload Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
@ -50,7 +41,7 @@ jobs:
|
||||||
tag_name: ${{ env.version }}
|
tag_name: ${{ env.version }}
|
||||||
name: Pre-Release ${{ env.version }}
|
name: Pre-Release ${{ env.version }}
|
||||||
body: |
|
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)
|
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil)
|
||||||
append_body: false
|
append_body: false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user