bug: Fixed deployment error of output format.

This commit is contained in:
2025-02-27 00:19:17 -05:00
parent 4fac2347f1
commit dfe3cc5ffb
2 changed files with 51 additions and 8 deletions

37
.github/release-drafter.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'chore'
- 'dependencies'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes
$CHANGES
## Contributors
$CONTRIBUTORS

View File

@@ -12,16 +12,22 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: Get version from tag
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
- name: Generate Release Notes
id: generate_notes
uses: TriPSs/conventional-changelog-action@v3
uses: release-drafter/release-drafter@v5
id: release_drafter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-version-file: true
skip-commit: true
skip-tag: true
output-file: false
config-name: release-drafter.yml
tag: ${{ github.ref_name }}
version: ${{ github.ref_name }}
publish: false
- name: Create Release
id: create_release
@@ -31,7 +37,7 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.generate_notes.outputs.clean_changelog }}
body: ${{ steps.release_drafter.outputs.body }}
draft: false
prerelease: false