From a37519f8507c68e003e1d0708cf1926e5fb9801f Mon Sep 17 00:00:00 2001 From: sethkfman Date: Fri, 28 Jun 2024 15:22:59 -0600 Subject: [PATCH] fix paths and PR text --- .github/workflows/create-release-pr.yml | 2 +- scripts/create-release-pr.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index 302a69699dd..4f03fec09c9 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -53,4 +53,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - .scripts/create-release-pr.sh ${{ github.event.inputs.previous-version-tag }} ${{ github.event.inputs.semver-version }} \ No newline at end of file + ./scripts/create-release-pr.sh ${{ github.event.inputs.previous-version-tag }} ${{ github.event.inputs.semver-version }} \ No newline at end of file diff --git a/scripts/create-release-pr.sh b/scripts/create-release-pr.sh index a97f11fa2e2..448c97384d4 100755 --- a/scripts/create-release-pr.sh +++ b/scripts/create-release-pr.sh @@ -14,7 +14,7 @@ if [[ -z $NEW_VERSION ]]; then fi RELEASE_BRANCH_NAME="${RELEASE_BRANCH_PREFIX}${NEW_VERSION}" -RELEASE_BODY="This is the release candidate for version ${NEW_VERSION}." +RELEASE_BODY="This is the release candidate for version ${NEW_VERSION}. \n \n The test csv can be found at ./commit.csv" git config user.name metamaskbot git config user.email metamaskbot@users.noreply.github.com @@ -34,13 +34,13 @@ git push --set-upstream origin "${RELEASE_BRANCH_NAME}" gh pr create \ --draft \ - --title "TESTING ${NEW_VERSION}" \ + --title "feat: TESTING ${NEW_VERSION}" \ --body "${RELEASE_BODY}" \ --head "${RELEASE_BRANCH_NAME}"; -node .scripts/generate-rc-commits.mjs "${PREVIOUS_VERSION}" "${RELEASE_BRANCH_NAME}" +node ./scripts/generate-rc-commits.mjs "${PREVIOUS_VERSION}" "${RELEASE_BRANCH_NAME}" -.scripts/changelog-csv.sh +./scripts/changelog-csv.sh git commit -am "updated changelog and generated feature test plan"