diff --git a/.github/helper/update_pot_file.sh b/.github/helper/update_pot_file.sh index d07d2e25..c0682779 100644 --- a/.github/helper/update_pot_file.sh +++ b/.github/helper/update_pot_file.sh @@ -22,7 +22,7 @@ git config user.name "frappe-pr-bot" echo "Setting the correct git remote..." # Here, the git remote is a local file path by default. Let's change it to the upstream repo. -git remote add upstream https://github.com/frappe/lms.git +git remote set-url upstream https://github.com/frappe/lms.git echo "Creating a new branch..." isodate=$(date -u +"%Y-%m-%d")