Skip to content

Commit 9cbfd7b

Browse files
committed
fix: add folder path for the core
1 parent 3e923ab commit 9cbfd7b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/release-drafter-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name-template: '{{FOLDER}}{{FOLDER_SEP}}v$RESOLVED_VERSION'
88
tag-template: '{{FOLDER}}{{FOLDER_SLASH}}v$RESOLVED_VERSION'
99
tag-prefix: '{{FOLDER}}{{FOLDER_SLASH}}v'
1010
include-paths:
11-
- {{FOLDER}}
11+
- {{FOLDER_PATH}}
1212
categories:
1313
- title: ⚠️ Breaking Changes
1414
labels:

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,18 @@ jobs:
6868
folder_sep=""
6969
folder_slash=""
7070
folder_filename="core"
71+
folder_path="."
7172
else
7273
# Any other module
7374
folder_sep=" - "
7475
folder_slash="/"
7576
# Sanitize folder name for filename by replacing / with -
7677
folder_filename=$(echo "$folder" | tr '/' '-')
78+
folder_path="$folder"
7779
fi
7880
sed -e "s|{{FOLDER}}|$folder|g" \
7981
-e "s|{{FOLDER_SEP}}|$folder_sep|g" \
82+
-e "s|{{FOLDER_PATH}}|$folder_path|g" \
8083
-e "s|{{FOLDER_SLASH}}|$folder_slash|g" \
8184
.github/release-drafter-template.yml > .github/release-drafter-$folder_filename.yml
8285
echo "config<<EOF" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)