Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cicd - propagate changes to release pr from scripts #12175

Merged
merged 3 commits into from
Nov 5, 2024
Merged
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
13 changes: 9 additions & 4 deletions scripts/create-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ RELEASE_BODY="This is the release candidate for version ${NEW_VERSION}. The chan
git config user.name metamaskbot
git config user.email metamaskbot@users.noreply.github.com

# Bump versions for the release
./scripts/set-semvar-version.sh "${NEW_VERSION}"
./scripts/set-build-version.sh "${NEW_VERSION_NUMBER}"

# Track our changes
git add package.json android/app/build.gradle ios/MetaMask/Info.plist bitrise.yml

git commit -m "bump semvar version to ${NEW_VERSION} && build version to ${NEW_VERSION_NUMBER}"

gh pr create \
--draft \
--title "feat: ${NEW_VERSION}" \
Expand All @@ -51,10 +60,6 @@ echo "Release Branch Checked Out"
git checkout -b "${CHANGELOG_BRANCH_NAME}"
echo "Changelog Branch Created"

#Bump versions for the release"
./scripts/set-semvar-version.sh "${NEW_VERSION}"
./scripts/set-build-version.sh "${NEW_VERSION_NUMBER}"

#Generate changelog and test plan csv
node ./scripts/generate-rc-commits.mjs "${PREVIOUS_VERSION}" "${RELEASE_BRANCH_NAME}"
./scripts/changelog-csv.sh "${RELEASE_BRANCH_NAME}"
Expand Down
Loading