Skip to content

Commit

Permalink
remove checkout and commit
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaskbot committed Aug 22, 2024
1 parent 08d7456 commit 8d8541e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions scripts/create-release-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ CHANGELOG_BRANCH_NAME="chore/${NEW_VERSION}-Changelog"
git config user.name metamaskbot
git config user.email [email protected]

git fetch "${RELEASE_BRANCH_NAME}"
git fetch

git checkout "${RELEASE_BRANCH_NAME}"
# git checkout "${RELEASE_BRANCH_NAME}"

if ! (git add . && git commit -m "${NEW_VERSION}");
then
echo "Error: No changes detected."
exit 1
fi
# if ! (git add . && git commit -m "${NEW_VERSION}");
# then
# echo "Error: No changes detected."
# exit 1
# fi

git checkout -b "${CHANGELOG_BRANCH_NAME}"

Expand Down

0 comments on commit 8d8541e

Please sign in to comment.