Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/create-platform-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ if gh pr list --head "${RELEASE_BRANCH_NAME}" --json number --jq 'length' | grep
else
gh pr create \
--draft \
--title "feat: ${NEW_VERSION}" \
--title "release: ${NEW_VERSION}" \
--body "${RELEASE_BODY}" \
--head "${RELEASE_BRANCH_NAME}"
echo "Release PR Created"
Expand Down
12 changes: 8 additions & 4 deletions .github/scripts/generate-rc-commits.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ async function filterCommitsByTeam(platform, branchA, branchB) {
try {
const git = simpleGit();


const logOptions = {
from: branchB,
to: branchA,
Expand Down Expand Up @@ -151,7 +150,8 @@ function formatAsCSV(commitsByTeam) {
stripDelimiter(commit.message, ','),
stripDelimiter(commit.author, ','),
commit.prLink,
stripDelimiter(team, ','),,
stripDelimiter(team, ','),
,
assignChangeType(commit.message),
];
csvContent.push(row.join(','));
Expand All @@ -169,7 +169,6 @@ function stripDelimiter(inputString, delimiter) {
return inputString.replace(regex, '');
}


// Helper function to escape CSV fields
function escapeCSV(field) {
if (field.includes(',') || field.includes('"') || field.includes('\n')) {
Expand All @@ -180,7 +179,12 @@ function escapeCSV(field) {
// Helper function to create change type
function assignChangeType(field) {
if (field.includes('feat')) return 'Added';
else if (field.includes('cherry') || field.includes('bump')) return 'Ops';
else if (
field.includes('cherry') ||
field.includes('bump') ||
field.includes('release')
)
return 'Ops';
else if (
field.includes('chore') ||
field.includes('test') ||
Expand Down
Loading