Skip to content

Commit 4f2c06d

Browse files
committed
ci: fix automated changelog title generation
1 parent f988b06 commit 4f2c06d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/weekly-changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,14 @@ jobs:
6767
- name: Prepend entry to current month's Mintlify changelog
6868
run: |
6969
MONTH=$(date --utc +%B | tr '[:upper:]' '[:lower:]')
70+
TITLE_MONTH=$(date --utc +%B)
7071
YEAR=$(date --utc +%Y)
7172
FILE="mintlify/docs/changelog/${MONTH}-${YEAR}.mdx"
7273
7374
# Create monthly file if it doesn't exist yet
7475
if [ ! -f "$FILE" ]; then
7576
echo "---" > "$FILE"
76-
echo "title: Changelog" >> "$FILE"
77+
echo "title: ${TITLE_MONTH} ${YEAR}" >> "$FILE"
7778
echo "description: What's new in urBackend — new features, improvements, and fixes." >> "$FILE"
7879
echo "---" >> "$FILE"
7980
echo "" >> "$FILE"

0 commit comments

Comments
 (0)