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
10 changes: 3 additions & 7 deletions .github/scripts/create-platform-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,9 @@ create_changelog_pr() {
checkout_or_create_branch "${changelog_branch_name}"

# Generate Changelog and Test Plan
if [ "$platform" = "extension" ]; then
echo "Generating changelog for extension via yarn auto-changelog.."
yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink
else
echo "Generating changelog for mobile via npx @metamask/auto-changelog@4.1.0.."
npx @metamask/auto-changelog@4.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize
fi
echo "Generating changelog for ${platform}.."
yarn auto-changelog update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize --useChangelogEntry --useShortPrLink


# Skip commits.csv for hotfix releases (previous_version_ref is literal "null")
# - When we create a new major/minor release, we fetch all commits included in the release, by fetching the diff between HEAD and previous version reference.
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/update-release-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ jobs:
"${{ inputs.platform }}" \
"${{ inputs.repository-url }}" \
"${{ inputs.previous-version-ref }}"

Loading