fix: use hotfix branches for patch tests

This commit is contained in:
Ankush Menat 2021-11-10 17:59:07 +05:30 committed by Ankush Menat
parent 6d05bb5274
commit b728597ef4

View File

@ -93,7 +93,7 @@ jobs:
for version in $(seq 12 13) for version in $(seq 12 13)
do do
echo "Updating to v$version" echo "Updating to v$version"
branch_name="version-$version" branch_name="version-$version-hotfix"
git -C "apps/frappe" fetch --depth 1 upstream $branch_name:$branch_name git -C "apps/frappe" fetch --depth 1 upstream $branch_name:$branch_name
git -C "apps/erpnext" fetch --depth 1 upstream $branch_name:$branch_name git -C "apps/erpnext" fetch --depth 1 upstream $branch_name:$branch_name