mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-03-21 12:52:10 -03:00
Update feature request template and release workflow
Removed the unused 'type' field from the feature request issue template. Improved the release workflow to fetch commit history since the last version tag instead of the last tag, ensuring more accurate changelog generation.
This commit is contained in:
2
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
2
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
@@ -2,8 +2,6 @@ name: ✨ Feature Request
|
||||
description: Suggest an idea for this project
|
||||
title: '[Feature Request]: '
|
||||
labels: ['enhancement']
|
||||
type: Feature
|
||||
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
|
||||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -36,18 +36,18 @@ jobs:
|
||||
echo "final_tag=v${{ steps.version.outputs.base_version }}" >> $GITHUB_OUTPUT
|
||||
|
||||
# ZMIANA: Poprawione obsługa multi-line output (z delimiterem EOF, bez zastępowania \n)
|
||||
- name: Get commit history since last tag
|
||||
- name: Get commit history since last version tag
|
||||
id: commit_history
|
||||
run: |
|
||||
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
|
||||
|
||||
if [ -z "$LAST_TAG" ]; then
|
||||
RANGE="HEAD"
|
||||
VERSION_TAG="v${{ steps.version.outputs.base_version }}"
|
||||
git fetch --tags
|
||||
|
||||
if git rev-parse "$VERSION_TAG" >/dev/null 2>&1; then
|
||||
RANGE="$VERSION_TAG..HEAD"
|
||||
else
|
||||
RANGE="$LAST_TAG..HEAD"
|
||||
RANGE="HEAD"
|
||||
fi
|
||||
|
||||
# Pobierz listę commitów i przefiltruj tylko te znaczące
|
||||
HISTORY=$(git log --pretty=format:"%s" $RANGE | \
|
||||
grep -vE '^\s*(add|update|fix|change|edit|mod|modify|cleanup|misc|typo|readme|temp|test|debug)\b' | \
|
||||
grep -vE '^(\s*Update|Add|Fix|Change|Edit|Refactor|Bump|Minor|Misc|Readme|Test)[^a-zA-Z0-9]*$' | \
|
||||
|
||||
Reference in New Issue
Block a user