Skip to content

Commit 4124fba

Browse files
committed
update date and .py
1 parent 6511212 commit 4124fba

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/scripts/generate_release_notes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ def filter_commits_by_date(commits):
9191

9292
def categorize_commits(commits):
9393
categories = {
94+
"New Architecture-specific changes": [],
9495
"Reliability": [],
9596
"New Features": [],
9697
"Breaking Changes": [],
97-
"New Architecture-specific changes": [],
9898
"Other": []
9999
}
100100

@@ -103,14 +103,14 @@ def categorize_commits(commits):
103103
"Reliability": ["fix", "bug", "error", "issue", "crash", "fault", "defect", "patch"],
104104
"New Features": ["feature", "add", "implement", "introduce", "support", "enable"],
105105
"Breaking Changes": ["break", "remove", "deprecated", "incompatible", "remove support", "change api"],
106-
"New Architecture-specific changes": ["fabric", "arch", "architecture", "refactor", "restructure", "modularize"]
106+
"New Architecture-specific changes": ["[fabric]","fabric", "arch", "architecture", "refactor", "restructure", "modularize"]
107107
}
108108

109109
for commit in commits:
110110
message = commit['commit']['message']
111111
sha = commit['sha']
112112
url = commit['html_url']
113-
entry = f"- {message.splitlines()[0]} [{sha[:7]}]({url})"
113+
entry = f"- {message.splitlines()[0]} [{message.splitlines()[0]} · microsoft/react-native-windows@{sha[:7]} (github.com)]({url})"
114114
msg_lower = message.lower()
115115

116116
# Track which categories matched to avoid multiple assignments

.github/workflows/generate-release-notes.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
66
start_date:
77
description: 'Start date (format: yyyy-mm-dd)'
88
required: true
9-
default: '2025-01-27'
9+
default: '2025-05-06'
1010
end_date:
1111
description: 'End date (format: yyyy-mm-dd)'
1212
required: true
13-
default: '2025-05-12'
13+
default: '2025-05-30'
1414

1515
push:
1616
branches:
@@ -49,8 +49,8 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
RELEASE_TAG: ${{ steps.get_tag.outputs.tag }}
52-
START_DATE: ${{ github.event.inputs.start_date || '2025-01-27' }}
53-
END_DATE: ${{ github.event.inputs.end_date || '2025-05-12' }}
52+
START_DATE: ${{ github.event.inputs.start_date || '2025-05-06' }}
53+
END_DATE: ${{ github.event.inputs.end_date || '2025-05-30' }}
5454
run: |
5555
python .github/scripts/generate_release_notes.py > release_notes.md
5656
mkdir -p .github/release_notes

0 commit comments

Comments
 (0)