Skip to content

Commit 749c097

Browse files
authored
chore: sync extension+mobile changelog processes (#157)
* chore: sync extension+mobile changelog processes
1 parent 6269f72 commit 749c097

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/scripts/create-platform-release-pr.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,13 +346,9 @@ create_changelog_pr() {
346346
checkout_or_create_branch "${changelog_branch_name}"
347347

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

357353
# Skip commits.csv for hotfix releases (previous_version_ref is literal "null")
358354
# - 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.

.github/workflows/update-release-changelog.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,3 @@ jobs:
7979
"${{ inputs.platform }}" \
8080
"${{ inputs.repository-url }}" \
8181
"${{ inputs.previous-version-ref }}"
82-

0 commit comments

Comments
 (0)